After locating the electrically contacted Au electrode, the sample was laterally positioned in the X-ray beam in order to illuminate a region close to the contacting wire; then an electrical field was applied, and the diffraction intensity at the chosen PZT 110 and 100 Bragg peaks (cubic indexation) was recorded in-situ