On Tue, Sep 28, 2010 at 3:05 PM, John Hunter <jdh2...@gmail.com> wrote:

> On Tue, Sep 28, 2010 at 2:10 PM, Ruggero <giurr...@gmail.com> wrote:
>
> > really there is no way to place the xlabel on the right as here:
> > http://www.cernlove.org/blog/wp-content/uploads/2009/10/root_plot1d.png ?
>
>
> Sorry, I misread the meaning of "and on the top for y axis".  As Ben
> noted, if all you want to do is move the x-alignment, you can pass
> horizontalalignment to the xlabel command.
>
>
Just to make it clear for anyone coming across this thread,
horizontalalignment alone won't do it.  'ha' only specifies the alignment
relative to the text coordinate point, which is 0.5 by default for axis
labels.  It is by specifying the x (for xlabel) or the y (for ylabel) that
will actually move the axis label in any usable fashion.

Ben Root
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to