[Top][All Lists]

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

Re: Cannot draw figures in Mac OS X

From: Joe Koski
Subject: Re: Cannot draw figures in Mac OS X
Date: Wed, 18 Feb 2004 17:18:36 -0700
User-agent: Microsoft-Entourage/

on 2/18/04 3:21 PM, Vic Norton at address@hidden wrote:

> Hi Joe,
> I've been using Octave 2.1.50 for a while now. I installed it through
> DarwinPorts. My system is Mac OS X 10.3.2. Everything works fine, but
> I've never tried to graph anything. Nor have I ever used X11 in any
> way.
> Your instructions looked so simple. I thought I'd try them. I didn't
> get very far. I opened X11 (and the xterm application) and wrote:
>   vic$ octave
>   bash: octave: command not found
> OK, X11 doesn't know where octave is. Well, I don't have any idea of
> how to start X11 with octave in its path, so I'll just append the
> appropriate directory on the fly:
>   vic$ PATH=$PATH:/opt/local/bin
>   vic$ export PATH
>   vic$ octave
>   GNU Octave, version 2.1.50 (powerpc-apple-darwin7.2.0).

My octave was installed via fink, and when I type "octave" at the xterm or prompt, I get octave. I don't know how darwinports sets things
up. You probably need to set up an alias in an appropriate (on your system)
resource file (.cshrc, .bashrc, .xinitrc, etc.) to make just "octave" work
>   ...
>   Report bugs to <address@hidden>.
>   octave>
> So far so good. Now to try your instructions:
>   octave> x = rand(1:3);
>   octave> y = rand(1:3);
>   octave> plot(x,y);
>   octave>
> Well, that's it. That's my random plot, Joe. You are seeing everything.

You may need to enter

gset term X11

to tell gnuplot to open X11 windows. Otherwise I don't know what to do.
Also, try

gset term aqua

To see if Aquaterm is installed. It has some advantages over X11 (easy save
to .pdf).

Good luck.

Joe Koski

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

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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