[Tutor] Rotate 2d Plot
Mark Lawrence
breamoreboy at gmail.com
Sat Apr 25 10:48:25 EDT 2020
On 25/04/2020 07:11, EK Esawi via Tutor wrote:
> Hi All—
>
> I am working on a 2D plot using Matplolib. I am wondering if there is
> a way to rotate the whole plot; that’s, e.g., if I generate a scatter
> plot with contouring, labels, etc., Is it possible to rotate the whole
> plot an x degrees clockwise keeping the same geometry (no distortion)?
> If so, How?. I was able to rotate the plot by rotating each entity,
> i.e. each point, but I am not sure if that’s is possible for
> contouring and other labels.
>
> Thanks in advance
>
> EK
Sorry but can't help directly as matplotlib is a specialised third party
package whilst this list is aimed at core Python and its libraries.
Having said that does this
https://stackoverflow.com/questions/22540449/how-can-i-rotate-a-matplotlib-plot-through-90-degrees
help? :)
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
More information about the Tutor
mailing list