help-octave
[Top][All Lists]
Advanced

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

Re: Setting Gnuplot to "aqua" on Mac OS X. (Tiger)


From: Ben Abbott
Subject: Re: Setting Gnuplot to "aqua" on Mac OS X. (Tiger)
Date: Mon, 27 Apr 2009 06:42:34 -0400


On Apr 26, 2009, at 11:51 PM, address@hidden wrote:

Hi:

I have no problem using Gnuplot, when I use it alone from the command
line, by changing my environment variable TERM from "xterm-color" to
"aqua".

When I call "plot" from octave, though, it won't use the environment
variable but gives me this:

octave:4> plot(x,y)
gnuplot> plot "-" using ($1):($2) axes x1y1 title "" with lines linestyle 1 ;
             ^
        line 0: use 'set term' to set terminal type first
gnuplot> 0 0
        ^
        line 0: invalid command

I don't know HOW to set he terminal type from octave.  I need to pass
"aqua" to Gnuplot  when it is called from Octave.

Any suggestions?

I'm totally new to both Gnuplot and Octave, although I have a bit of
experience with MATLAB, back in the mid-nineties.

Thanks in advance.

Sincerely,

Leave "TERM" as it was and set "GNUTERM" instead. For me

        export GNUTERM=aqua

        $ echo $TERM
        xterm-color
        $ echo $GNUTERM
        aqua

For the aqua terminal to work, you'll need AquaTerm to be installed.

Ben








reply via email to

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