Figure 3 Scattering geometry of a grazing-incidence X-ray diffraction experiment. The incident wavevector illuminates the sample at an incidence angle , and the direction of the diffracted wavevector is defined by an in-plane angle and an out-of-plane angle . Typically, for surface X-ray diffraction measurements a sample rotation with angular velocity around the surface normal is performed.