フィルターのクリア

Why drawnow ; is given after imshow in matlab?

4 ビュー (過去 30 日間)
D Joseph
D Joseph 2015 年 8 月 14 日
コメント済み: D Joseph 2015 年 8 月 17 日
Why drawnow ; is given after imshow in matlab?

回答 (1 件)

Honglei Chen
Honglei Chen 2015 年 8 月 14 日
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.
  1 件のコメント
D Joseph
D Joseph 2015 年 8 月 17 日
Thanks@Chen

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by