On Tue, Jul 24, 2012 at 10:10 AM, Sami Niemi <s.ni...@ucl.ac.uk> wrote:

> Hi,
>
> I have not managed to rotate the axes label text when generating a 3D
> plot, while in 2D everything works just fine. Here's a short snippet to
> demonstrate:
>
> import matplotlib.pyplot as plt
> from mpl_toolkits.mplot3d import Axes3D
>
> fig = plt.figure()
> ax = fig.add_subplot(111, projection='3d')
>
> ax.set_zlabel('label text flipped', rotation=45)
>
> ax.azim = 225
>
> plt.show()
>
>
Because mplot3d has to managed the rotation of the axes label text itself,
it over-rides any user-specified rotations.  I guess it is feasible to
apply a rotation on top of the internal rotation.  Could you file a feature
request on github for this?

Cheers!
Ben Root
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to