Re: [Matplotlib-users] Problem: Multiple plots with same variables plot incorrectly.

2006-05-31 Thread Alan Isaac
On Wed, 31 May 2006, Louis Pecora wrote: > Is this good matplotlib behavior? I think so. It is Python behavior. You are using a mutable object, and the plot of this object changes when you chage the object. > Is it necessary to use new variables for each call of > plot? No. Just assign a ne

[Matplotlib-users] Problem: Multiple plots with same variables plot incorrectly.

2006-05-31 Thread Louis Pecora
I have some simple code (I've cut it down a lot, but kept the problem) that tries to plot two sets of data using the same variables. It appears that re-using the variables from the first plot for the second plot affects the first plot. In fact the two plots become identical. I am guessing th

[Matplotlib-users] Hello, i ve a problem with plot_date and need help thx

2006-05-31 Thread leau2001
Hi, i try to use the plot_date function and i have some problems, is anybody can help me My program : First to show it's ok to run if i just used the only plot function from pylab import * import marshal import time import string lst_date=[] points=[] belos=[['2', '2', '2', '2', '2', '2', '