How can i plot the results of two separate m files in same figure window.
1 回表示 (過去 30 日間)
古いコメントを表示
I want to do this for comparative purpose
1 件のコメント
Walter Roberson
2013 年 11 月 19 日
duplicated by http://www.mathworks.co.uk/matlabcentral/answers/106709-how-can-results-of-two-separate-m-files-be-plotted-in-same-figure-window which should be merged with it.
回答 (1 件)
Azzi Abdelmalek
2013 年 11 月 19 日
plot(x1,y1,x2,y2)
%or
plot(x1,y1)
hold on
plot(x2,y2)
hold off
%or
plotyy(x1,y1,x2,y2)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Interactive Control and Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!