Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How many Figures are open ?

490 views
Skip to first unread message

Bertrand Cadet

unread,
Jul 23, 2008, 11:10:03 AM7/23/08
to
Hi,

How can I use "findall" and/or "findobj" to count the number of figures that are
open (even if they are invisible) ?

Thanks.

Walter Roberson

unread,
Jul 23, 2008, 11:11:04 AM7/23/08
to
In article <g67hkb$5bm$1...@fred.mathworks.com>,
Bertrand Cadet <bertran...@mac.com> wrote:

>How can I use "findall" and/or "findobj" to count the number of figures that are
>open (even if they are invisible) ?

figurecount = length(findobj('Type','figure'));
--
"And believe me, I was very lousy yesterday.
I had nothing to say, and, by God, I said it."
-- Walter Wellesley Smith

Bertrand Cadet

unread,
Jul 23, 2008, 11:17:01 AM7/23/08
to
robe...@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in message
<g67hm8$81l$1...@canopus.cc.umanitoba.ca>...


Thanks for the very quick answer.

Bertrand Cadet

unread,
Jul 23, 2008, 11:33:01 AM7/23/08
to
robe...@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in message
<g67hm8$81l$1...@canopus.cc.umanitoba.ca>...
0 new messages