필터 지우기
필터 지우기

Plotting two(function) curve in same figure?how?

조회 수: 2 (최근 30일)
Mary Jon
Mary Jon 2013년 11월 15일
댓글: Md Nafiul Islam 2017년 12월 21일
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?

채택된 답변

Azzi Abdelmalek
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
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
Md Nafiul Islam
Md Nafiul Islam 2017년 12월 21일
Thank you

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Waveform Generation에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by