Thank you Paul. That is exactly it. I guess I was confused by the example
in the help. The addition of your example would be a great addition to the
help file.

Kurt


On 12 December 2012 23:56, Paul Hobson <pmhob...@gmail.com> wrote:

>
>
> On Wed, Dec 12, 2012 at 7:55 AM, Forrester, Kurt <
> kurt.forrester....@gmail.com> wrote:
>
>> ax.set_xlim(0.5, 2)
>> ax.set_xscale('log', basex=2, subsx=range(2,9))
>>
>
>
> Kurt,
>
> That `subsx` kwarg is tricky. Does this example get you closer to what you
> want?
>
> import numpy as np
> import matplotlib.pyplot as plt
> fig, ax = plt.subplots()
> ax.set_xlim(0.5, 10)
> ax.set_xscale('log', basex=2, subsx=np.arange(1.,2.1,0.1))
> ax.xaxis.grid(True, which='minor')
> plt.show()
>
> -paul
>
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to