[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: non-interactive plotting with octave
From: |
Thomas Weber |
Subject: |
Re: non-interactive plotting with octave |
Date: |
Sat, 5 Apr 2008 23:16:31 +0200 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
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