|
From: Michael H. <mh...@al...> - 2005-04-21 22:35:39
|
Edurne Dehesa wrote:
>is there any way to introduce a line with a concrete character while creating
>a file, so that I can plot every piece of file between those characters as an
>individual plot, once above the others?? I mean... I want to save in a file
>several points, of several people. Then I want to compare all those people in
>a graph, so I want to plot each person's respective points in a different
>color and so on.
>Thank you very much if you can help me.
>
>
Is there a special reason that you want to write them to a single file
before plotting them? Because it would be much easier to plot lots of
little PlotItems:
items = []
for person in person_list:
items.append(Data(person.data, title=person.name)]
# Plot all of the datasets at once:
g.plot(*items)
I hope this helps,
Michael
|