Set current figure without making it visible
70 ビュー (過去 30 日間)
古いコメントを表示
Hi all,
I'd like to make a figure "the current figure" by using
figure(myPicture)
HOWEVER, I don't want myPicture to become visible.
The figure(myPicture) command makes myPicture visible by definition. Is there any other command that will simply make myPicture the current figure while keeping the visibility set to "off"?
Thanks!
JF
2 件のコメント
Thomas
2012 年 7 月 11 日
You have created another question about the same topic without replying back to the posters who posted answers in the previous thread.
Please donot make duplicate postings.
Duplicate posting at:
採用された回答
その他の回答 (2 件)
John Petersen
2012 年 7 月 11 日
Do you want to manipulate the figure 'MyPicture'? Is that why you want it 'current'? If so, you don't have to make it current. You just have to use the figure handle in the commands you're using. For example,
h=figure;
creates the figure and handle for that figure;
plot(h, x,y)
plots x,y on the figure with handle 'h'
title(h,'This is MyPicture')
adds a title to your figure.
0 件のコメント
Kye Taylor
2012 年 7 月 11 日
Perhaps
figure(myPicture), set(myPicture,'visible','off')
then when you want
set(myPicture,'visible','on')
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!