From: Joerg L. <jo...@us...> - 2005-07-25 16:04:42
|
Hi Eugene, On 25.07.05, Eugene M. Minkovskii wrote: > Perhaps this is foolish question, sorry. > > Can I feed data into the graph.plot() function without saving it > to the file, directly from python? > > I have list of pairs [(x,y)...] and I don't like saving it into > the temporary files and then feed file into your function. I hope > you do something to feed data without saving? Just use the graph.data.list class (instead of graph.data.file). If your list of tuples is called alist, you can use something like g.plot(graph.data.list(alist, x=1, y=2)) HTH, Jörg |