How can i plot the results of two separate m files in same figure window.
조회 수: 6 (최근 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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!