How to modify the markers of a figure of the decaying function are squares instead of circle and set the line width of the other sinusoid to 2 instead of 4?
1 回表示 (過去 30 日間)
古いコメントを表示
Rosendo Ramos
2020 年 10 月 12 日
コメント済み: Sudhakar Shinde
2020 年 10 月 13 日
This is my code:
x = 0:pi/20:4*pi;
plot(x, sin(x))
hold on
plot(x, exp(-0.1*x).*sin(x),'o')
hold off

0 件のコメント
採用された回答
Sudhakar Shinde
2020 年 10 月 12 日
編集済み: Sudhakar Shinde
2020 年 10 月 12 日
x = 0:pi/20:4*pi;
plot(x, sin(x),'LineWidth',2)
hold on
plot(x, exp(-0.1*x).*sin(x),'s')
hold off
3 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!