On Fri, Feb 18, 2011 at 3:57 PM, Jose Guzman <sjm.guz...@googlemail.com>wrote:

>  Hi everybody
>
> is there anybody to set the distance between the x/y axis numbers and the
> corresponding axis labels. I found the default distance is rather small, and
> I would like to enlarge it. I was playing around in .matplolibrc but I did
> not find anything useful.
>
> Any suggestion??
>
> Thanks in advance
>
> Jose
>
>
Jose,

When setting the axes label, you can pass a keyword argument to labelpad
which is the number of points that should be between the label and the
axis.  While this isn't the distance between the numbers and the label, this
should help.  There should be a corresponding rcParam as well.

http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.set_xlabel

I hope this helps!
Ben Root
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to