Hi
I do not think this is the expected behavior. First, run the following:
from pylab import *
plot([0,3],[0.2,0.7])
ax1 = gca()
ax1.set_yscale('log')
gca().yaxis.set_major_formatter(FormatStrFormatter('$%g$'))
#ax2 = ax1.twiny()
#ax2.set_xlim(ax1.get_xlim())
show()
You will see that t
Using matplotlib 1.1.1.
If one runs the following code:
from pylab import *
plot([19.185,19.187],[0.0009,0.0011],'b.')
show()
The x-axis is labelled 0.0005, 0.0010, 0.0015 etc +1.9184e1
This is unreadable and does not seem like a good default behavior!
One can add
gca().xaxis.set_major_form
On Tue, Mar 27, 2012 at 3:31 AM, Mike Kaufman wrote:
> On 3/26/12 12:49 PM, Christopher Graves wrote:
>
>> On Sun, Mar 11, 2012 at 2:32 PM, Christopher Graves
>> mailto:christoph.gra...@gmail.com>> wrote:
>>
>
> Try this:
>>
>>from
On Tue, Mar 27, 2012 at 3:31 AM, Mike Kaufman wrote:
> On 3/26/12 12:49 PM, Christopher Graves wrote:
>
>> On Sun, Mar 11, 2012 at 2:32 PM, Christopher Graves
>> mailto:christoph.gra...@gmail.com>> wrote:
>>
>
> Try this:
>>
>>from
On Thu, Apr 12, 2012 at 5:20 PM, Benjamin Root wrote:
>
>
> On Thu, Mar 29, 2012 at 5:53 AM, Christopher Graves <
> christoph.gra...@gmail.com> wrote:
>
>>
>>
>> On Tue, Mar 27, 2012 at 3:31 AM, Mike Kaufman wrote:
>>
>>> On 3/26/12 12:49
On Tue, Mar 27, 2012 at 3:31 AM, Mike Kaufman wrote:
> On 3/26/12 12:49 PM, Christopher Graves wrote:
>
>> On Sun, Mar 11, 2012 at 2:32 PM, Christopher Graves
>> mailto:christoph.gra...@gmail.com>> wrote:
>>
>
> Try this:
>>
>>from
On Sun, Mar 11, 2012 at 2:32 PM, Christopher Graves <
christoph.gra...@gmail.com> wrote:
> On Sun, Mar 11, 2012 at 2:06 PM, Mike Kaufman wrote:
>
>> On 3/11/12 8:14 AM, cgraves wrote:
>>
>>>
>>> Hi, here is an example script which places minor ticks
On Sun, Mar 11, 2012 at 2:06 PM, Mike Kaufman wrote:
> On 3/11/12 8:14 AM, cgraves wrote:
>
>>
>> Hi, here is an example script which places minor ticks with 2 per major
>> tick
>> (minor tick spacing is "fractional" of major tick spacing with relative
>> interval of 1/2):
>>
>> from pylab import