help-octave
[Top][All Lists]
Advanced

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

Re: mac osx10.7.2, octave 3.2.3, gnuplot 4.2.6


From: Ben Abbott
Subject: Re: mac osx10.7.2, octave 3.2.3, gnuplot 4.2.6
Date: Fri, 30 Dec 2011 17:06:38 -0500

On Dec 30, 2011, at 3:57 PM, Tei Ito wrote:

> I am a new comer to mac and octave, thought I have a lot of experience with 
> matlab on windows.  I installed the software in the subject.  octave3.2.3 
> works except plotting.  gnuplot works on its own, e.g. plot(sin(x)).  But 
> can't plot anything from octave.  What should I do?
> 
> Thanks.
> Tei Ito
> (address@hidden)

Are you able to run gnuplot from a terminal window? i.e ...

(1) Open a terminal window
(2) Type "gnuplot"

Does gnuplot run?

If not, and are using a gnuplot app bundle (which you downloaded from 
somewhere) then be sure it is in your Applications folder, open a terminal 
window and type ...

        sudo ln -s /Applications/GnuPlot.app/Contents/Resources/bin/gnuplot 
/usr/local/bin/gnuplot

This will create a symbolic link to the gnuplot executable. This link will be 
in a location where Octave will find it.  When you type this command, you'll be 
asked to validate this command with your password.

After that your Octave should work.

If you don't mind some advice, I recommend you install Octave and gnuplot using 
a package management system.

There are a few package management systems available for MacOS. The most 
popular ones are Fink and Macports. Some of the individuals how frequent this 
use one or both of these.

        http://www.finkproject.org/

        http://www.macports.org/

Ben



reply via email to

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