help-octave
[Top][All Lists]
Advanced

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

Re: How can I make Octave and Gnuplot work in Leopard?


From: Stuart Edwards
Subject: Re: How can I make Octave and Gnuplot work in Leopard?
Date: Fri, 28 Oct 2011 15:26:28 -0400


On Oct 28, 2011, at 12:40 PM, alex_dlc wrote:

so i uninstalled octave 3.4.0 and i installed octave 3.2.3 with whatever
version of gnuplot it came with.

i tried to do the same plot i tried with octave 3.4.0 and this time, i didnt
get errors! but nothing showed up. no plot or anything.

i tried to first open x11.app and then gnuplot (by doubleclicking
gnuplot.app) and unlike last time, gnuplot  actually opened with no errors
or crashes. so i was happy atleast that was ok.

with both x11 and gnuplot apps open/running i tried to plot something again,
but i still didnt get the plot or anything else.

i read somewhere that to make gnuplot work i had to run this command:
setenv('GNUTERM', 'x11')

after doing this, i tried once more to plot something, and this time the
plot window apeared!


So now i have Octave v3.2.3 and Gnuplot v4.2.6 working and plotting with
X11. The only quirk is that i have to run the setenv command every time i
start Octave. how can i make it set the enviroment to X11 everytime i start
the program?


PS: i would still like it if i could

--
View this message in context: http://octave.1599824.n4.nabble.com/How-can-I-make-Octave-and-Gnuplot-work-in-Leopard-tp3947084p3948505.html
Sent from the Octave - General mailing list archive at Nabble.com.
_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave
This can be set up in your .bashrc file:

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 GNUTERM=X11

Not wishing to complicate things ...... but you might want to consider using AquaTerm as your windowing system.  In that case you can switch from X11 by putting the following in your .bashrc file:

export GNUTERMAPP=/Applications/AquaTerm.app 
export GNUTERM=aqua 

Stu

reply via email to

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