Why drawnow ; is given after imshow in matlab?

Respuestas (1)

Honglei Chen
Honglei Chen el 14 de Ag. de 2015

0 votos

This is used to flush the graphic queue so you can see the change on screen. This is often used in animation so you can see the graph change during a loop. Otherwise, the program may accumulate the queue and flush it at the end of loop and you don't see the animation effect.

Categorías

Más información sobre Animation en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 14 de Ag. de 2015

Comentada:

el 17 de Ag. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by