The x-ray diffraction spectra of ZnO, N-doped ZnO, and N–Mg co-doped ZnO films. The inset shows the whole spectroscopy of samples.