From: Felix U. <fel...@ui...> - 2010-04-21 12:44:42
|
AWESOME!!!!!!! Thanks Michael for your quick reply!! gnuplot-py rules! Felix Michael Haggerty wrote: > Felix Uni wrote: >> i have following problem: >> i want to plot a number of lines. The number of lines can be set by an >> user option, so i don't know it in advance. I thought of using a list of >> Data PlotItems. Establishing the PlotItem list works, however sending it >> to g.plot fails. Any idea how to do this/ work around it. >> [...] >> 19 # --- This is what i want to work :-) --- >> 20 g.plot(ga) > > Use > > g.plot(*ga) > > to treat the entries in the "ga" list as individual arguments to the > plot() method. > > Michael |