Delay the Creation of Figure Windows?

2 次查看(过去 30 天)
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!

采纳的回答

Image Analyst
Image Analyst 2015-7-21
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 个评论
John R.
John R. 2015-7-21
Good approach. Although once I set them all to visible they still popup one at a time; although they popup slightly faster than before. Perhaps there is no way for all of the figure windows to popup at once? Could be a operating system limitation.
Image Analyst
Image Analyst 2015-7-21
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by