>
>
>> On 06/01/2012 02:58 PM, Mark Bakker wrote:
>>
>> Hello List,
>>
>> I want to plot plot([1000,2000])
>> Then on the y-axis, I want labels 1 and 2, and at the top of the y-axis I
>> want E3.
>> This works automatically with plot([1e7,2e7]).
>> But I assume that is something that can be set for plot([1e3,2e3]) as
>> well.
>>
>> I have been browsing the examples, and tried the (for me) obvious things,
>> but couldn't find the answer.
>>
>> Any help is appreciated,
>>
>> Mark
>>
>> Hi Mark,

You can set the (exponent) limits at which scientific notation is activated:

    plt.ticklabel_format(scilimits=(-3, 3))

-Tony
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to