How to Plot Stacked XRD Patterns in Python: From Raw Files to a 600-dpi Figure
A tested, downloadable Matplotlib script for stacked XRD patterns: load Bruker, Rigaku and PANalytical exports, normalise, smooth safely, add reference sticks and (hkl) labels, zoom on peak shifts and export a 600-dpi TIFF.