>>>>> "Zack" == Zack  <[EMAIL PROTECTED]> writes:

    Zack> Hi, all how to change the spacing between axes and ticks
    Zack> labels, ticks labels and axes labels?  I mean vertical
    Zack> spacing for X axis and horizontal one for Y.

See these parameters from your matplotlibrc file:
http://matplotlib.sf.net/matplotlibrc

  xtick.major.pad      : 4      # distance to major tick label in points
  xtick.minor.pad      : 4      # distance to the minor tick label in points
  ytick.major.pad      : 4      # distance to major tick label in points
  ytick.minor.pad      : 4      # distance to the minor tick label in points

>From code, you can also control the pad with, for example, 

for tick in ax.xaxis.get_major_ticks():
    tick.set_pad(6)

ditto for the yaxis and minor ticks..

JDH


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to