On 6/18/07, Thanos Panousis <[EMAIL PROTECTED]> wrote: > Hello everybody and a bit thanks to the matplotlib team. Its great stuff. > > I would like to place the minor ticks for days, lower than the major ticks > for hours, so that they are visible. Right now they overlap each other. I > would like to achieve a result like > > 11:00 12:00 01:00 > | > Monday > > The vertical line is not important, I just need days to be lower than hours. > > The pythonic API could certainly use more documentation. Pylab is good but > only for working in the same fashion as matlab.
I think you might get what you want by setting the tick "pad". See the help for matplotlib.axis.Tick. From the python shell type import matplotlib.axis help(matplotlib.axis.Tick) or see the online documentation at http://matplotlib.sourceforge.net/matplotlib.axis.html#Tick Eg, for tick in ax.xaxis.get_major_ticks(): tick.set_pad(12) You can also set the default for this parameter in your configuration file. See http://matplotlib.sourceforge.net/matplotlibrc JDH ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users