Let's say I am running an interactive session 
(ipython -pylab), and now issue the following
commands:
        
        x = linspace(0, 10, 100 )
        plot( x, sin(x) )
        ylim( -2, 2 )
        plot( x, cos(x) )

Then the second plot command seems to reset
the plot limits to [-1,1] - which makes sense for 
the figure, but is not what I requested.

Is this behavior intended? It seems odd to me,
since generally matplotlib seems to retain state 
that has between invocations of plot().

Best,

                Ph.

------------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to