From: Benjamin R. <ben...@ou...> - 2011-09-23 19:22:35
|
On Fri, Sep 23, 2011 at 2:07 PM, Gökhan Sever <gok...@gm...> wrote: > Hello, > > Considering this example plot: > http://imageshack.us/photo/my-images/27/imagefki.png/ > > How can I get the minor ticks showing correctly? (ie., 9 minor ticks per > decade likewise for the x-axis) > > For some reason > > axis.set_minor_locator(LogLocator(numdecs=9) is not producing the desired > output. > > Any hints? > > Thanks. > > -- > Gökhan > > By default, setting the scale to log (e.g., ax.set_yscale('log')) should automatically turn the minor ticks on for you. Note that depending on your version of mpl, there may be a slight error in the documentation for LogLocator. Ben Root |