[Top][All Lists]

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

Re: Can't get Gnuplot to plot in Octave with AquaTerm

From: Joe Koski
Subject: Re: Can't get Gnuplot to plot in Octave with AquaTerm
Date: Tue, 25 Jul 2006 14:36:41 -0600
User-agent: Microsoft-Entourage/

on 7/25/06 1:43 PM, Josh Wiebe at address@hidden wrote:


I'm using OS X 10.4.7 on a G4 processor.  I installed the octave-bin.tar.gz package from
<> / and followed the instructions.  Following that I installed AquaTerm 1.0 and then Gnuplot 4.0.0.  From terminal /usr/local/bin/gnuplot I am able to set 'set term aqua'  (without the quotations) and then plot to AquaTerm with Gnuplot.  However, from Octave I am unable to plot.  The command plot (x) , where x is previously defined, does not plot and does not give an error message.  If I use the command gset terminal aqua I am able to plot but apparently this command is being discontinued.

From what I've read in the message archives it appears that I will need to create .gnuplotrc and .bashrc files in my home directory to allow octave to pipe instructions to gnuplot.  Specific instructions on how to do this are much appreciated.



On my system which was recently upgraded to OS X 10.4.7, I have, among other things, the following lines in my .bash_profile and .bashrc files.

export PATH
export GNUTERM=aqua
export DISPLAY=:0.0

You can create these files with any text editor (I prefer TextWrangler for this). What I usually do is create a file called new.bash_profile in my home directory. I test it by entering source new.bash_profile while in the home directory with Then it is possible to cd to any directory and run octave with gnuplot and aquaterm. When you’re happy with your new.bash_profile, in your home directory, cp new.bash_profile .bash_profile, and you will create a .bash_profile file that you can see by doing an ls –a. When you open, it will automatically read .bash_profile. If you plan to use X11, also add the same lines to .bashrc or reference .bash_profile in .bashrc.


reply via email to

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