On 08.04.2008, at 19:51, Manuel Metz wrote:

> Jochen Küpper wrote:
>>

>> matplotlib creates a contour plot with an x-axes labels of   
>> "0.0000324", ... and adds a "+1" in the lower right corner.
>> Actually, it is often not visible at all.
>> How can I set it to always use the "correct" values directly as  
>> labels?
>>

> gca().xaxis.set_major_formatter(ScalarFormatter(useOffset=False))
>
> see also examples/newscalarformatter_demo.py


That works perfectly!

As a more general question: How was I supposed to find this out? What  
user-documentation is there besides the matplotlib.sf.net homepage and  
the PDF user guide? Should I have found it in these docs already?

Thanks for your help.

Greetings,
Jochen
-- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
     Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
         Sex, drugs and rock-n-roll



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to