Re: [Matplotlib-users] Problem with tick locater

2011-09-23 Thread Gökhan Sever
One more update, before heading to the bed. I have managed to adjust my ticks to get what I was asking originally. See the code at http://pastebin.com/XjkDZ486 1-) ax1.yaxis.set_minor_locator(ticker.LogLocator(subs=np.arange(2.0, 10.0)) ) with this line I can get the desired number of minor ticks

Re: [Matplotlib-users] Problem with tick locater

2011-09-23 Thread Gökhan Sever
OK, This fixes the minor locations on y-axis ax1.yaxis.set_minor_locator(ticker.LogLocator(subs=np.arange(2.0, 10.0))) Independent of the data-range. It seems like ticker.LogLocator is trying to adjust the minor locs internally. On Fri, Sep 23, 2011 at 7:18 PM, Gökhan Sever wrote: > Hi, > > A

Re: [Matplotlib-users] Problem with tick locater

2011-09-23 Thread Gökhan Sever
Hi, Another question is, what sets the tick-location on a log scaled axis? (that 10^-5, 10^-3, 10^-1, 10^1) It seems as if the range is greater than certain value ticks are located this way. Also in a similar way, the location of minor ticks are decided. (If the range is big, no minor ticks, if th

Re: [Matplotlib-users] Problem with tick locater

2011-09-23 Thread Benjamin Root
On Fri, Sep 23, 2011 at 2:28 PM, Gökhan Sever wrote: > On Fri, Sep 23, 2011 at 1:22 PM, Benjamin Root wrote: > >> On Fri, Sep 23, 2011 at 2:07 PM, Gökhan Sever wrote: >> >>> Hello, >>> >>> Considering this example plot: >>> http://imageshack.us/photo/my-images/27/imagefki.png/ >>> >>> How can I

Re: [Matplotlib-users] Problem with tick locater

2011-09-23 Thread Gökhan Sever
On Fri, Sep 23, 2011 at 1:22 PM, Benjamin Root wrote: > On Fri, Sep 23, 2011 at 2:07 PM, Gökhan Sever 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 >>

Re: [Matplotlib-users] Problem with tick locater

2011-09-23 Thread Benjamin Root
On Fri, Sep 23, 2011 at 2:07 PM, Gökhan Sever 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_