From: Bryan C. <bry...@te...> - 2005-02-16 15:20:30
|
> > ax.xaxis.set_major_locator(majorLocator) > ax.xaxis.set_major_formatter(majorFormatter) > > #for the minor ticks, use no labels; default NullFormatter > ax.xaxis.set_minor_locator(minorLocator) > > From this you might guess ax.xaxis.set_minor_formatter. > Yeay! Thanks for these pointers; it now works great. Something that confused me is that for a log plot, >>> ax.xaxis.get_minor_formatter() returns a NullFormatter (you would think it would return a LogFormatter). This made me think that both major and minor ticks were handled by the major formatter (which distinguishes them based on it's internal isDecade() call). Anyway, thanks again for your help. Bryan |