Re: [Matplotlib-users] minorLocator

2008-08-20 Thread Yves Revaz
Yves Revaz wrote: Hi all, How is it possible to display by default the minor ticks with an interval 5 times smaller than the major ticks. I can do that for a known range of data : for example : ax = pt.gca() ax.xaxis.set_major_locator(MultipleLocator(10))

[Matplotlib-users] minorLocator

2008-05-06 Thread Yves Revaz
Hi all, How is it possible to display by default the minor ticks with an interval 5 times smaller than the major ticks. I can do that for a known range of data : for example : ax = pt.gca() ax.xaxis.set_major_locator(MultipleLocator(10)) ax.xaxis.set_minor_locator(MultipleLocator(10/5.)) but