the synthesized Zn1xMgxO nanomaterials, as shown in Fig. 3. The results indicate that the synthesized Zn1xMgxO nanomaterials are composed of Zn, Mg and O elements, the signal of Si originates from the quartz glass substrate, as shown in Fig. 3(b)–(e).