From: Ryan M. <rm...@gm...> - 2009-05-07 19:38:10
|
On Tue, Apr 28, 2009 at 9:54 PM, Thomas Robitaille < tho...@gm...> 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 -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma Sent from Norman, Oklahoma, United States |