[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Silent plot(x,y)
From: |
John W. Eaton |
Subject: |
Silent plot(x,y) |
Date: |
Fri, 23 Oct 2009 22:31:02 -0400 |
On 15-Oct-2009, Karol Krizka wrote:
| I'm wondering if it is possible to plot a graph without displaying
| anything to the file. Basically, I'm trying to do an animated graph by
| plotting them step by step (suggested here:
| http://www.nabble.com/Displaying-an-animation---%22movie%22-td4199665.html
| ) and saving each graph as a file.
|
| In summary, I have the following script:
| x=[0:1];
| for i=[0:1000]
| plot(x,x*i);
| filename=sprintf("%02d.png",i);
| print(filename);
| end
|
| The problem is that plot command displays the graph to the screen, and
| I think that it might be slowing (I show more than than 1000 frames..)
| down my script. Is there a way to suppress/silent the plot() command?
Try using
figure (1, 'visible', 'off')
before your other plotting commands.
jwe
- Silent plot(x,y), Karol Krizka, 2009/10/15
- Re: Silent plot(x,y) (3.2 or later bug?), Tatsuro MATSUOKA, 2009/10/15
- Re: Silent plot(x,y) (3.2 or later bug?), Karol Krizka, 2009/10/15
- Re: Silent plot(x,y) (3.2 or later bug?), Carlo de Falco, 2009/10/16
- Re: Silent plot(x,y) (3.2 or later bug?), Tatsuro MATSUOKA, 2009/10/16
- Re: Silent plot(x,y) (3.2 or later bug?), Ben Abbott, 2009/10/16
- Re: Silent plot(x,y) (3.2 or later bug?), Ben Abbott, 2009/10/16
- Re: Silent plot(x,y) (3.2 or later bug?), Tatsuro MATSUOKA, 2009/10/17
- Re: Silent plot(x,y) (3.2 or later bug?), Karol Krizka, 2009/10/18
Re: Silent plot(x,y), Thomas Weber, 2009/10/16
Silent plot(x,y),
John W. Eaton <=