Display plots while processing loop

Is is possible to display plots in a figure while doing all the processing. Displaying is time critical in order to show simulation of solar system.

 Risposta accettata

At the end of each loop, use drawnow, like this:
for ...
% do processing
drawnow;
end

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by