Quentin Spencer skrev:
I also have a slightly related question--is there any way to get
version information from gnuplot from within octave?
Somewhere on the gnuplot sites there is a script for displaying images
using gnuplot 4.2. In that you'll see the following code:
## Get gnuplot version if this is first time function is called.
if (__gnuplot_version__ == 0)
[status, output] = system([gnuplot_binary " --version"]);
words = split(output, " ");
if ( (size(words,1) >= 2) && isdigit(words(2,1)) )
__gnuplot_version__ = sscanf(words(2,:), '%f', 1);
else
__gnuplot_version__ = -1;
endif
if (__gnuplot_version__ < 4.1)
disp('Images can be displayed using Gnuplot version 4.1 or
higher.');
endif
end
Is that what you're looking for?