How to plot multiple curves on the same graph
70 ビュー (過去 30 日間)
古いコメントを表示
採用された回答
Keshav
2022 年 7 月 8 日
Hi, you can use the hold on function to plot both line on same graph. you can refer to the below code.
x = [1 2 3 4 5];
y = [7 8 9 10 11];
plot(x,y)
hold on
plot(y,x)
hold off
0 件のコメント
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!