0

I am using matplotlib to plot some data in python. I would like to tilt my axis by an arbitrary angle, but searching online I have only found how to rotate the axis labels or ticks.

The following imgur link shows a quick sketch of what I would like to do. The picture on the left is what I currently have. The picture on the right is what i would like to have.

enter image description here

eyllanesc
  • 221,139
  • 17
  • 121
  • 189
zucian
  • 47
  • 2
  • If the plot becomes an image (for example with matplotlib), can you use the Pillow library to simply rotate the image once the plot is outputted? Also, here's a possible solution: https://stackoverflow.com/questions/31401812/matplotlib-rotate-image-file-by-x-degrees – Jarad Oct 20 '21 at 17:44

0 Answers0