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
···
On Fri, Feb 18, 2011 at 3:57 PM, Jose Guzman <sjm.guzman@…982…> 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