Plot command

Ben Abbott bpabbott at mac.com
Wed Jul 30 06:46:27 CDT 2008


On Jul 30, 2008, at 6:47 AM, Jan Reynders wrote:

> I installed Gnu Octave as part of the Cygwin distribution. On calling
> 'octave', I get:
>
> GNU Octave version 3.0.1
> Configured for "i686-pc-cygwin"
>
> I run the following routine:
>
> x=1:1:10;
> plot(x)
>
> I get the following error message:
>
> Set terminal aqua 1 enhanced
>
> Line 0: unknown or ambiguous terminal type; type just 'set terminal'  
> for
> a list
>
> gnuplot> plot "-" using ($1):($2) axes x1y1 titel"" with lines  
> linestyle
> 1;
> line 0: use 'set term' to set terminal type first
>
> gnuplot> 	1 1
> 		octave: 3>
> 		line O: invalid command
>
> This continues for all 10  points on the graph. No graph is produced.
>
>
> Jan

The errors are related to gnuplot, not Octave.

My understanding is that the "aqua" part is specific to Mac OSX.

I believe this problem can be resovled by setting GNUTERM=windows in  
your environment.

As I'm unfamiliar with how that is setup in windows, I won't be much  
help, but perhaps someone else can explain?

Ben





More information about the Help-octave mailing list