2010/9/28 John Hunter <jdh2...@gmail.com>: > On Tue, Sep 28, 2010 at 10:04 AM, Ruggero <giurr...@gmail.com> wrote: >> As in the title: usually axis label on the x axis is plottet in the >> middle of the axis. How to move it on the right? (and on the top for y >> axis) > > You cannot coerce the xlabel to the top because it's y position is > determined at drawtime to avoid overlapping the tick labels. But you > can place an arbitrary piece of text up there > > text(1.0, 1.02, 'testing', horizontalalignment='right', > verticalalignment='bottom', fontsize=14) > > See also > > http://matplotlib.sourceforge.net/users/index_text.html > > and > > http://matplotlib.sourceforge.net/examples/pylab_examples/alignment_test.html > > JDH >
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 ? I don't want to edit the y position of x label, I want to modify the x position of x label and the y position of y label ------------------------------------------------------------------------------ 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