How to keep figures invisible?
Mostra commenti meno recenti
The next code snippet creates an invisible figure.
set(0,'DefaultFigureVisible','off')
plot(randi(10,20,1))
The figures in the next piece of code are visible despite the first line.
set(0,'DefaultFigureVisible','off')
for i = 1:4
fh(1) = figure(1)
subplot(2,2,i)
plot(randi(10,20,1),'color',[1 0 0])
fh(2) = figure(2)
subplot(2,2,i)
plot(randi(10,20,1),'color',[0 1 0])
end
Ik could add the next line...
set(gcf,'Visible','Off')
However then the figure would appear first.
How to keep figures invisible in a loop?
Risposte (1)
Lu Maz
il 30 Giu 2014
Categorie
Scopri di più su Printing and Saving in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!