|
From: James S. M. <jam...@di...> - 2002-10-21 14:21:34
|
First off thanks for gnuplot-py, it's helped me concentrate on my code
w/out worrrying about Gnuplots messy syntax.
I am trying to figure out how to plot multiple sets of file data on the
same graph without using a replot.
I notice that if I do this it doesn't work because the _add_to_queue
thinks it is a data array and not an array of instances. I am trying to
plot multiple columns from the same or different files on the same graph
and I can't think of how to do it without using replot. Is there a
better way?
p1=Gnuplot.File("file1",title="line1",using=9)
p2=Gnuplot.File("file1",title="line2",using=10)
lines.append(p1)
lines.append(p2)
g.plot(lines)
Thanks,
James
|