フィルターのクリア

how can I draw flashing arrow on the plot?

5 ビュー (過去 30 日間)
Jinah Lee
Jinah Lee 2017 年 3 月 17 日
コメント済み: Rik 2017 年 3 月 19 日
Hello, how can I draw flashing arrow on the plot by use 'pause' function?
Thanks a lot!

回答 (1 件)

Rik
Rik 2017 年 3 月 17 日
t = text(0.5,0.5,'\leftarrow');
for blinks=1:10
set(t,'Visible','off')
pause(0.5)
set(t,'Visible','on')
pause(0.5)
end
  3 件のコメント
Jinah Lee
Jinah Lee 2017 年 3 月 17 日
oh, can't I make a one flash for the arrow and make it gone?
Rik
Rik 2017 年 3 月 19 日
Sure, just add a set(t,'Visible','off') after the loop.
If this answer helped you, please mark it as accepted answer. It will give us both reputation points.

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

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by