Ryan May wrote:
> On Tue, Apr 28, 2009 at 9:54 PM, Thomas Robitaille 
> <thomas.robitai...@gmail.com <mailto:thomas.robitai...@gmail.com>> wrote:
> 
>     Thanks! I could not find any documentation relating to this, so I was
>     wondering whether it would be better to go with a well-documented
>     function such as text or figtext? What would be best to use?
> 
>     Thomas
> 
>     On 28 Apr 2009, at 22:27, Yong-Duk Jin wrote:
> 
>      > You can use 'LABELPAD' to adjust label position.
>      > e.g.
>      >
>      > import pylab
>      > hAxes = pylab.axes()
>      > pylab.xlabel('test')
>      > hAxes.xaxis.LABELPAD = 0
>      > pylab.show()
>      >
> 
> 
> There's now a documented way to do this in SVN HEAD, by passing labelpad 
> as an argument to the xlabel/ylabel functions.

Ryan,

Good idea, thanks.

Quick thought, with no investigation on my part: wouldn't it be more 
natural and more useful if text placement pads like this were in 
font-size units, like the "em" and "ex", so that they would scale with 
the font size?  I think that this would make the need to set them 
manually much less common.

Eric

> 
> Ryan
> 
> -- 
> Ryan May
> Graduate Research Assistant
> School of Meteorology
> University of Oklahoma
> Sent from Norman, Oklahoma, United States
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image 
> processing features enabled. http://p.sf.net/sfu/kodak-com
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to