On Wed, Aug 4, 2010 at 6:27 AM, thowa <thors...@foren.walenzyk.de> wrote:
> I'm afraid, I made myself not clear enough.
> I want to rotate the numbers on the axis (similar to what autofmt_xdate() is
> doing).
> As I understand, autofmt_xdate() is changing the rotation of the numbers for
> all sub-plots.
> But I want to do it only for selected subplots.
>
> Is that is possible?

Yes, if ax is your subplot instance

for label in ax.get_xticklabels():
    label.set_rotation(45)
    label.set_horizontalalignment('right')

JDH

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to