How can i plot the results of two separate m files in same figure window.

조회 수: 6 (최근 30일)
harsimran kaur
harsimran kaur 2013년 11월 19일
댓글: Walter Roberson 2013년 11월 19일
I want to do this for comparative purpose

답변 (1개)

Azzi Abdelmalek
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)

카테고리

Help CenterFile Exchange에서 Graphics Objects에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by