help-octave
[Top][All Lists]
Advanced

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

Re: Octave & Mac OSX


From: Per Persson
Subject: Re: Octave & Mac OSX
Date: Tue, 12 Feb 2002 16:34:27 +0100

Pierre,
this is probably a problem related to graphics output, not octave as such.

On Mac OS X you can use octave with or without XWindows.
Fink does not require you to have XWindows to install octave, but it does require gnuplot.

So, if you have XWindows check the value of env variable DISPLAY (type 'env' in the terminal)
and if you don't have XWindows, check the settings for gnuplot.

Make sure you have gnuplot version >3.8 which have support for AquaTerm (otherwise you won't have any screen output)
Check the env variable GNUTERM, it should be set to 'aqua'

More info and some modified .m files for OS X can be found at
http://homepage.mac.com/persquare/matlabReplace.html

Info on AquaTerm:
http://aquaterm.sf.net/

HTH
/Per

On tisdag, februari 12, 2002, at 03:57 , Pierre Vaudrey wrote:

All,

I've just install Octave via Fink process on my PowerBook Ti 667 Mac OSX.
As a test I use Ben Sapp 11 feb example :
octave:2>  function xdot = f(x,t)
> xdot(1) = x(1) + x(2) + exp(-t);
> xdot(2) = x(1);
> endfunction

octave:6> x0 = [4;pi]
x0 =
  4.0000
  3.1416

octave:8> t = 3.5:0.05:20;
octave:9> x = lsode("f",x0,t);
octave:10> plot (t,x)
Everything works (I can print t & x ) except " plot (t,x) "
Can you help me to solve this issue ?

Pierre Vaudrey
email address@hidden



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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