Michael Droettboom wrote:

> Why are you turning autoscaling off and on?  When you turn it off, the
> autoscale mechanism effectively "ignores" any plots until you turn it
> back on.  If you remove
>
> gca().set_autoscale_on(False)
>
> all seems to work fine.
>
> Is your question that you want to autoscale to a plot after creating it?

I want to be able to "freeze" the plot when adding another curve (because I
want to compare the added curve and a previous one in a small portion of
the X/Y plane, this portion may have been chosen by a zoom of the user
before adding the curve).

Once this comparison has been performed, the user may want to autoscale the
complete plot. If the added curve is larger than the previous one, the
autoscale should take into account the larger curve.

Julien

-- 
python -c "print ''.join([chr(154 - ord(c)) for c in '*9(9&(18%.9&1+,\'Z
(55l4('])"

"When a distinguished but elderly scientist states that something is
possible, he is almost certainly right. When he states that something is
impossible, he is very probably wrong." (first law of AC Clarke)


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to