How to set figure/plot visibility to on by default?
Afficher commentaires plus anciens
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.
Réponses (2)
Walter Roberson
le 16 Juin 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
le 16 Juin 2015
0 votes
Catégories
En savoir plus sur Graphics Object Properties dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!