Borrar filtros
Borrar filtros

Why drawnow ; is given after imshow in matlab?

4 visualizaciones (últimos 30 días)
D Joseph
D Joseph el 14 de Ag. de 2015
Comentada: D Joseph el 17 de Ag. de 2015
Why drawnow ; is given after imshow in matlab?

Respuestas (1)

Honglei Chen
Honglei Chen el 14 de Ag. de 2015
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 Environment and Settings en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by