How to set figure/plot visibility to on by default?
Mostra commenti meno recenti
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.
Risposte (2)
Walter Roberson
il 16 Giu 2015
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
il 16 Giu 2015
0 voti
Categorie
Scopri di più su Graphics Object Properties in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!