From: <kai...@t-...> - 2003-08-18 22:47:51
|
Hi, I just implemented some accumulated suggestions in the CVS version of Gnuplot.py. Fernando Perez wrote: >> Some quick comments regarding your specific ideas: >> >> > -plot(y) -> plot a NumPy array against its indices > Done. >> > -plot(x,y) -> plot y vs x > I will not implement this (because of the ambiguity). But since this seems to be a popular feature, maybe I'll implement it with another name (like 'qplot()', as suggested by Leo Milano). >> > -plot(y1,None,y2) -> plot y1,y2 vs their indices (None is a >> separator) > Ditto. >> > -plot(y,filename='out.eps') -> make eps output reliably >> > (there's a tricky timing issue which requires >> > retrying the print command with a sleep()) > I still don't understand the timing issue. But I see the need to be able to plot directly to a "hardcopy" file (be it PS or EPS or PNG or ...) without first plotting to a graphics window. It would be very nearly possible now, if Gnuplot._add_to_queue() were a documented part of the interface. >> > - Added the 'index' keyword arg to File, similar to Gnuplot's >> > index option to select a dataset from a file with multiple >> > datasets in it. > Done. Michael -- Michael Haggerty mh...@al... |