|
From: Jae-Joon L. <lee...@gm...> - 2011-03-24 03:51:35
|
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 <czu...@ya...> 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)) #<------
|