MATLAB: Delay the Creation of Figure Windows

3d plotsfigureMATLABplotplotting

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!

Best Answer

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;
Related Question