non-interactive plotting with octave
Thomas Weber
thomas.weber.mail at gmail.com
Sat Apr 5 16:16:31 CDT 2008
On 05/04/08 18:17 +0100, Mair wrote:
> Hi,
>
> I am trying to write some code which will run over a lot of data files
> and generate graphs. I have the code working but octave pops up a
> window with every plot. This is terribly annoying if I'm trying to work
> on something else while the code is running.
>
> So, I've spent some time trying to work out how to force octave to just
> save the output to an image file without the intermediate window
> popping up, but failed to do so successfully. I have octave 2.9.19 and
> debian lenny. Is there a way to do this in octave?
octave:1> figure(1, "visible", "off");
octave:2> plot(sin(1:100));
octave:3> print -deps "/tmp/sin.eps"
Thomas
More information about the Help-octave
mailing list