Thanks so much JJ! It works great. carlo
Jae-Joon Lee wrote: > > If you want full control of label coordinates, you need to use > "Axis.set_label_coords" method. For example, > > ax = gca() > ax.xaxis.set_label_coords(0.5, -0.1) > > And alternative way is to adjust the padding between the axis and the > label. > > ax.xaxis.labelpad = 0 > > Regards, > > -JJ > > > On Mon, Mar 21, 2011 at 3:27 AM, andes <czuni...@yahoo.com> wrote: >> x = linspace(0,1,10) >> y = x**2 >> plot(x, y) >> xlabel('xname', position=(0.5,0.1)) #<------ >> ylabel('yname', position=(0.1,0.5)) #<------ > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- View this message in context: http://old.nabble.com/Re%3A-Changing-xlabel-ylabel-position-tp31225992p31300118.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users