Fig. 1: In situ/operando scanning transmission X-ray microscopy (STXM) of Zn deposition.

a Schematic diagram of in situ STXM setup (OSA: order sorting aperture). b The linear combination fitting result of different thicknesses (red color: 150 nm; green color: 75 nm; blue color: 15 nm, scale bar: 2 µm) and species of the deposited Zn by in situ STXM (Region I: dashed oval; Region II: dashed square). c Zn L-edge X-ray absorption spectroscopy (XAS) spectra in different color regions extracted from (b). d Zn L-edge XAS reference spectra of the standard samples (Zn foil, ZnO, ZnSO4 and Zn(OH)2). e The evolution of the distribution and morphology of the deposited Zn (Region I: dashed oval; Region II: dashed square; Region III: dashed circle, scale bar: 4 µm). f The operando STXM observations of the Zn deposition process (A: red dashed oval; B: orange dashed oval; C: blue dashed square; D: green dashed oval; E: cyan dashed circle, scale bar: 4 µm). The colored regions in (e) and (f) are created using masks derived from the corresponding colored regions in (b).