wait for plot to finish
47 次查看(过去 30 天)
显示 更早的评论
Hello,
I am plotting quite a huge amount of data points using the scatter3 function in a GUI. Doing so the program keeps on running while the data plot isnt finished yet. (I tested it with tic/toc before and after the plot which gave me way to short timings)
Is there a way to stop matlab from continuing until the plot is finished and visible?
Best Regards, Stephan
0 个评论
采纳的回答
Jan
2016-4-28
What about drawnow?
2 个评论
Constantino
2021-12-29
Can you give more details on this?
I have the problem that each plot draw to screen seems to slow down the total running time of the code. Id like to be able to wait for allk the code to execute and then draw to screen each figure once.
The visible property does not work for me.
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Performance 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!