[Top][All Lists]

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

Re: MAC and GNU Plot - Help Please

From: Stuart Edwards
Subject: Re: MAC and GNU Plot - Help Please
Date: Sat, 24 Sep 2011 11:10:58 -0400

It's been a while since I tackled this ... back in 10.4 days, In 2006 Jo Sarens 
published some instructions that were very helpful.  I think they are probably 
still relevant.

" To ensure that everything gets set up correctly, install AquaTerm first, 
Gnuplot second and Octave last.  For AquaTerm and Gnuplot all  you need to do 
is run their respective installers and everything will be set up correctly.  
Installing Octave, however is a little bit less intuitive [ Note, this is 
probably not true now with binary installers that are available so I'll skip 
the rest of this section]

Okay,now that everything is installed, it's time to get started on doing some 
serious science, right?  Not so fast ......

First off, there are environmental variables that need to be set correctly.   
At the command line:

cd ~
touch .bashrc
open .bashrc

The second line creates .bashrc if it doesn't already exist.  An editor should 
pop up. Put the following into it, save and quit:

export PATH=$PATH:/usr/local/bin
export GNUTERMAPP=/Applications/
export GNUTERM=aqua

To make bash aware of these new settings, you must make it re-read the .bashrc 
file.  An easy way of doing that is running the following command:

source .bashrc

With that take care of, there is only one more thing we need to do.  If you 
were to run Octave now and tried to  make it plot something, you'd get an error 
message saying it can't find libaquaterm.1.0.0.dylib.  The reasonit can't find 
this library, is that you've got a newer version, namely 
libaquaterm.1.0.1.dylib (at the time of writing).  To fix this , create a link 
like so:

cd /usr/local/lib
sudo ln -s libaquaterm.1.0.1.dylib libaquaterm.1.0.0.dylib "

[Note - I would try to plot before setting this link - it may not be necessary 
on later versions .....]

Test the installation with this at the command line:


An AquaTerm window should open and display the test result

Good luck


On Sep 23, 2011, at 7:06 PM, Wesley Davis wrote:

> Hello,
> I have been trying to plot images from some of my Octave programs on my MAC 
> without success.  I have downloaded Aquaterm and  GNU Plot.  However,  I am 
> not sure what goes where.   What do I need to do to plot my graphs while at 
> the Octave command line?
> Wes 
> _______________________________________________
> Help-octave mailing list
> address@hidden

reply via email to

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