[Pkg-octave-devel] Bug#461558: Bug#461558: octave fails to invoke gnuplot

Folkert van Heusden folkert at vanheusden.com
Sat Feb 16 14:28:27 UTC 2008


> | > > Just tried 3.0 and it gives the same errors:
> | > > gnuplot> 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 title "" with lines linestyle 1 ;
> | > >               ^
> | > >          line 0: use 'set term' to set terminal type first
> | > 
> | > Have you by any chance set the environment variable GNUTERM?  What does the
> | > follow yield for you?
> | > 
> | >     $ echo $GNUTERM
> | >     $ GNUTERM=x11 /usr/bin/octave3.0 -qf
> | >     octave:1> plot (randn (10, 1));
> | 
> | Tried it under X11 and then things work. So it seems X11 is required for
> | it to run. I thought and hoped it would emit a png/gif/jpg-file.
> | So the bug can be closed.
> 
> To generate graphics files without displaying them on the screen, try
> something like
>   figure (1, 'visible', 'off');
>   plot (randn (10, 1));
>   print -dpng foo.png

Ah ok! Thanks a lot!


Folkert van Heusden

-- 
Multi tail barnamaj mowahib li mora9abat attasjilat wa nataij awamir
al 7asoub. damj, talwin, mora9abat attarchi7 wa ila akhirih.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com





More information about the Pkg-octave-devel mailing list