Delay the Creation of Figure Windows?
2 views (last 30 days)
Show older comments
Hello,
I'm running a simulation after which about 15 plots are created using a separate script dedicated to generating plots. Most of these plots contain a few subplots each with multiple lines and most are plotted using the plot3 function.
It is a little annoying to see each figure window popup as its running through the plotting script. Is there a way to delay the actual creation of the figure windows until the very end?
Thanks!
0 Comments
Accepted Answer
Image Analyst
on 21 Jul 2015
Set the 'visible' property of the figures to false as soon as you create them. See if that keeps them from popping up. Then set them all to true when you're ready
set(gcf, 'Visible', 'False');
drawnow;
2 Comments
Image Analyst
on 21 Jul 2015
If you can fit them all on the screen at once, you can put the axes in a panel that's invisible. Then make the panel visible and they should all appear at the same instant.
More Answers (0)
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!