help-octave
[Top][All Lists]
Advanced

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

Re: output the figures


From: mirek
Subject: Re: output the figures
Date: Tue, 16 Nov 2004 04:15:14 +0100
User-agent: Mutt/1.5.6+20040907i

On Mon, Nov 15, 2004 at 08:13:43PM -0600, kevwalker wrote:
> gset term png
> for i=1:10
> gset output ?????
> plot(T(i,:))
> end 
> 
> what's the filename I need to set so I can get the files with
> 1.png  2.png 3.png .....10.png??

Change gset output ????? to:

  eval(sprintf('gset output %d.png',i))

Mirek



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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