[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new subplot bug
From: |
John W. Eaton |
Subject: |
Re: new subplot bug |
Date: |
Wed, 18 Feb 2009 14:24:38 -0500 |
On 18-Feb-2009, Ben Abbott wrote:
| hmmm, This is quite strange.
|
| clf; for i = 1:2; subplot (2, 1, i); disp(numel(findobj (gcf, "type",
"axes"))); plot (x, sin(x)); endfor
| 1
| 2
|
| clf; for i = 1:2; subplot (2, 1, i); pause; disp(numel(findobj (gcf, "type",
"axes"))); plot (x, sin(x)); endfor
| 2
| 3
|
| The "pause" appears to result in all "visible" properties being set to "on"
The only thing that pause should be doing that is related to plotting
is calling drawnow. You can see the same result if you replace pause
with drawnow in the examples above.
jwe
- Re: new subplot bug, Ben Abbott, 2009/02/18
- Re: new subplot bug,
John W. Eaton <=
- Re: new subplot bug, Ben Abbott, 2009/02/18
- Re: new subplot bug, John W. Eaton, 2009/02/18
- Re: new subplot bug, Ben Abbott, 2009/02/18
- Re: new subplot bug, John W. Eaton, 2009/02/18
- Re: new subplot bug, Ben Abbott, 2009/02/19
- Re: repositioning of gnuplot figures (was: new subplot bug), Ben Abbott, 2009/02/20