From: Petr M. <mi...@ph...> - 2004-02-24 09:10:50
|
> The question is whether Gnuplot is doing some housekeeping of curve-data > (2D & 3D), and this is retrievable in an easy way. I think gnuplot does some proprocessing on reading the data (especially if you use "set log", or smoothing (?)), so the data may not be always reproducible. > It would be nice to be able to retrieve the curve_data which is > visualised. That would be perfect. > > I know that Octave is able to use a gshow, which will list out properties > as in show. I believe I can get labels, ticks, colour and format, but not > the curve_data, which could be quite useful.... You can get this functionality outside of gnuplot. Just after each plot from your front-end, do "save 'plot1.gp'" -- and there you have access to all properties of this plot, including the "plot" command listing the datafiles. You just have to parse the file -- I think that's how Octave's "gshow" currently works. Maybe using mkfifo you don't need to touch the filesystem and keep all these options as a string list in memory of your front-end. --- PM |