How to set figure/plot visibility to on by default?
古いコメントを表示
In order to hide some plots in a script I used the following command: " figure('Visible','off') "
Now im unable to show plots without using the following line: " figure('Visible','on') " Followed by my plot which creates an empty figure where I'm able to plot in.
I want to be able to plot things casually without setting the Visibility setting on every time I need to plot something.
Im using MATLAB 2014b.
回答 (2 件)
Walter Roberson
2015 年 6 月 16 日
figure('visible','off')
would create a figure that was not visible and would make it the active figure, but it would have no effect on later figures that you create using figure() without the 'visible' parameter.
If your new figures are created with visible being off, then you must have changed the root property DefaultFigureVisible . Check with
get(0, 'DefaultFigureVisible')
and if necessary
set(0, 'DefaultFigureVisible', 'on')
KL
2015 年 6 月 16 日
0 投票
カテゴリ
ヘルプ センター および File Exchange で Graphics Object Properties についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!