help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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]

...solving this with a...

> gnuplot_binary("/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot")

...and again plotting gives...
[quote]
error: `unset' undefined near line 4 column 1
warning: broken pipe -- some output may be lost
[/quote]

where it can only be escaped with a ctrl-c.

Is gnuplot 4.2.6 not working with octave 3.2.3?  Is there a way around this?

Your help or advise is greatly appreciated.

Thanks, Bob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]