[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave & Mac OSX
From: |
A Scottedward Hodel |
Subject: |
Re: Octave & Mac OSX |
Date: |
Tue, 12 Feb 2002 09:37:12 -0600 |
User-agent: |
Microsoft-Entourage/10.0.0.1331 |
Did you also install:
- gnuplot
- Xdarwin?
Octave uses gnuplot for its plotting. Gnuplot requires X (windows as
opposed to Mac OS X) to display. I use the XDarwin package rather than the
fink X installation, mostly because I couldn't get the latter to work on my
iBook.
I haven't yet had time to try using mkoctfile under OS X.
Web pages that would be good references for Octave installation/use on OS X
are:
http://homepage.mac.com/persquare/octave.html
http://www.mrcla.com/XonX/
On 2/12/02 8:57 AM, "Pierre Vaudrey" <address@hidden> 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
>
--
A. S. Hodel 200 Broun Hall Dept Elect & Comp Eng, Auburn Univ AL 36849-5201
http://www.eng.auburn.edu/~scotte 334 844 1854 Fax: -1809
-------------------------------------------------------------
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
-------------------------------------------------------------