From: Hans-Bernhard B. <br...@ph...> - 2004-02-20 23:14:26
|
On Fri, 20 Feb 2004, Ole Jacob Hagen wrote: > I know Octave can get some parameters from gnuplot using gshow, which > will run show in Gnuplot. But that's not exactly the easiest possible way. "show" is meant for consumption by humans, not computers. The "save" command's output would be a lot better for that, I guess. This writes out a complete script to generate the current plot (with the exception of multiplot stuff). Note that some parameters actually used in the plot are neither in 'save' nor in 'show' output. The major examples are the margin sizes, legend positioning and, most prominently, the actual axis range. Unless mousing is in use or you explicitly requested the "writeback" feature, the axis range endpoints are not kept anywhere after the plot has been done. > The question is whether Gnuplot is doing some housekeeping of curve-data > (2D & 3D), and this is retrievable in an easy way. Not after the fact. gnuplot does not generally keep plotted data in memory after the plot has been drawn, so it can't report them back to octave, either. This kind of data copying would have to be done at the octave end of the connection instead. There's, again, an exception to this, but it only applies to mouse-enabled versions, and then only to 3D plots, IIRC. -- Hans-Bernhard Broeker (br...@ph...) Even if all the snow were burnt, ashes would remain. |