Plotting a list of lines

Dear ALL,

Is there a way to plot a list (a Python list) of lines (MPL Line2D
objects) at once?

For example, inside a loop I have:

for i in range(n):
     line, = ax.plot(x,y)

In the code fragment above, "plot_list" is an ordinary Python list
which will be filled with matplotlib.lines.Line2D objetcs, each of
them representing a line in the plot. What I would like is how (if???)
to plot this entire list of lines at once in a single plot, outside
the for loop, but obviously this cannot be done with a canonical
"plot" command.

Thanks in advance.

With regards,


Dr. Mauro J. Cavalcanti
Ecoinformatics Studio
P.O. Box 46521, CEP 20551-970
Rio de Janeiro, RJ, BRASIL
E-mail: maurobio@...287...
Linux Registered User #473524 * Ubuntu User #22717
"Life is complex. It consists of real and imaginary parts."