Plot window appears at the end of the script. Why?
Show older comments
I have a long for cycle after hold on, and plot in every cycle. But the plot figure appears only at the end of the whole for cycle. It is possible to force MATLAB to show the figure from the begining?
Answers (1)
Thorsten
on 24 Sep 2015
After the plot, use
drawnow
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!