Re: [Matplotlib-users] plot() in a loop vs multiple curves with a single plot()

2009-04-06 Thread Jouni K . Seppänen
A B python6...@gmail.com writes: I have the following code and am wondering whether there is a more efficient way to plot multiple curves. Maybe somehow accumulating the data into a single variable, then calling plot once ... Thanks for any ideas. for ofile in files: d =

[Matplotlib-users] plot() in a loop vs multiple curves with a single plot()

2009-02-10 Thread A B
Hi, I have the following code and am wondering whether there is a more efficient way to plot multiple curves. Maybe somehow accumulating the data into a single variable, then calling plot once ... Thanks for any ideas. for ofile in files: d = mlab.csv2rec(ofile, names = ['date','field'])