help-octave
[Top][All Lists]
Advanced

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

Re: Need help on octave - simple plot


From: Ben Abbott
Subject: Re: Need help on octave - simple plot
Date: Mon, 27 Feb 2012 07:54:22 -0500

On Feb 26, 2012, at 9:54 PM, tandiwijaya wrote:

> Hi,
> 
> I'm newbie, and just downloaded the octave 3.4.0 in Max OS X 10.7.3.
> 
> Im trying to do a simple plot and found the following error message:
> 
> code starts here:
> =========
> octave-3.4.0:1> x=[1 2]
> x =
> 
>   1   2
> 
> octave-3.4.0:2> y=[3 4]
> y =
> 
>   3   4
> 
> octave-3.4.0:3> plot(x)
> error: popen2: popen2 (child): unable to start process -- Operation not
> permitted
> error: called from:
> error:  
> /Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/plot/__gnuplot_open_stream__.m
> at line 30, column 44
> error:  
> /Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/plot/__gnuplot_drawnow__.m
> at line 72, column 19
> sh: /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot: /bin/sh: bad
> interpreter: Operation not permitted
> error: `unset' undefined near line 4 column 1
> warning: broken pipe -- some output may be lost
> =========
> code stopped here
> 
> Please help how how to solve this problem.
> 
> Thank You
> 
> Tandi.

Did you install gnuplot ?

It is in the "Extras" folder of the Octave dmg.

Also, note the README file.

http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary/2011-04-21%20binary%20of%20Octave%203.4.0/

There was a bug that accompanied the gnuplot in the Extras folder. For 10.7.3 
you'll need to use one of the work-arounds documented in the README file

Ben




reply via email to

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