cannot plot via gnuplot (4.2.6) from octave 3.2.3 (on Mac OS 10.6)
From:
Bob Q
Subject:
cannot plot via gnuplot (4.2.6) from octave 3.2.3 (on Mac OS 10.6)
Date:
Tue, 13 Oct 2009 17:19:33 +0100
Hello,
I downloaded and installed the octave-3.2.3 dmg on Mac OS X (10.6, intel) along with the gnuplot-4.2.6 dmg in the Extras.
At first, it could not find gnuplot...
> plot(x,y) [quote] error: popen2 (child): unable to start process -- No such file or directory
error: called from: error: /Applications/Octave 3.2.3.app/Contents/Resources/share/octave/3.2.3/m/plot/__gnuplot_open_stream__.m at line 28, column 44 error: /Applications/Octave 3.2.3.app/Contents/Resources/share/octave/3.2.3/m/plot/gnuplot_drawnow.m at line 85, column 19
sh: gnuplot: command not found error: you must have gnuplot installed to display graphics; if you have gnuplot installed in a non-standard location, see the 'gnuplot_binary' function octave-3.2.3:4> gnuplot_binary("/Applications/Gnuplot")
octave-3.2.3:5> plot(x,y) sh: /Applications/Gnuplot: No such file or directory error: you must have gnuplot installed to display graphics; if you have gnuplot installed in a non-standard location, see the 'gnuplot_binary' function
[/quote]