Plotting two(function) curve in same figure?how?
1 回表示 (過去 30 日間)
古いコメントを表示
can Iam plotting two(function) curve in one figure?how? y1=function y2=function x=1:1:40
plot(x,y1) plot(x,y2)
in same figure? how?
0 件のコメント
採用された回答
Azzi Abdelmalek
2013 年 11 月 15 日
編集済み: Azzi Abdelmalek
2013 年 11 月 15 日
plot(x,y1)
hold on
plot(x,y2)
%or
plot(x,y1,x,y2)
%or
plotyy(x,y1,x,y2)
3 件のコメント
Azzi Abdelmalek
2013 年 11 月 15 日
編集済み: Azzi Abdelmalek
2013 年 11 月 15 日
figure
hold on
plot(x,y1)
plot(x,y2)
plot(x,y3)
%and so on
hold off
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!