[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: figure behavior
From: |
Martin Kunz |
Subject: |
Re: figure behavior |
Date: |
Thu, 01 Aug 2013 07:57:29 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 |
MATLAB Version: 7.14.0.739 (R2012a)
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service
Pack 1)
>> hf = figure ('visible', 'off')
hf =
1
(No figure window is opened)
>> figure (hf)
(The figure pops up)
>> get (hf, 'visible')
ans =
on
>> hf = figure ('visible', 'off', 'handlevisibility', 'off')
hf =
2
(No new figure window pops up)
>> figure (hf)
(New figure window is opened)
>> get (hf, 'visible')
get (hf, 'handlevisibility')
ans =
on
ans =
off
HTH,
Martin
Am 01.08.2013 04:15, schrieb Rik:
7/31/13
Can someone run a test in Matlab for me? According to the documentation
"figure (n)" should switch the current figure to n, make the figure
visible, and pop it to the front of the stack. I want to see what they
mean by visible.
Test code
---------
hf = figure ('visible', 'off')
%% figure should not be visible
figure (hf)
%% What happens? Is the figure now visible?
get (hf, 'visible')
hf = figure ('visible', 'off', 'handlevisibility', 'off')
%% figure should not be visible
figure (hf)
%% What happens? Is the figure now visible?
get (hf, 'visible')
get (hf, 'handlevisibility')
Thanks,
Rik
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: figure behavior,
Martin Kunz <=