Drawing out a graph, animating a 2-d graph in MATLAB

1 回表示 (過去 30 日間)
William Fantin
William Fantin 2019 年 5 月 17 日
回答済み: Steven Lord 2019 年 5 月 17 日
Hello All,
I am trying to have my 2 dimensional graph darwn out. Lets say we have :
x=0:2*pi;
y=sin(x)
plot(y)
I want to see this drawn out as If i was drawing it on paper with a pencil. Is this possible?
Thanks!

回答 (1 件)

Steven Lord
Steven Lord 2019 年 5 月 17 日
Use the functions and techniques described on this documentation page. The easiest would probably be comet or animatedline.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by