In stacked plot figures, data on the x axis is inverted, creating incorrect figures. The figure <img width="1220" height="453" alt="Image" src="https://github.com/user-attachments/assets/724b8368-c4b3-47be-bb78-4238a5cd4aa9" /> Produces <img width="585" height="341" alt="Image" src="https://github.com/user-attachments/assets/c87e3da5-16b3-4561-833b-d6232d7cf5c3" /> Check other figures too.