How to plot two different curves in one plot?

조회 수: 8 (최근 30일)
gasocemo
gasocemo 2015년 8월 26일
댓글: gasocemo 2015년 8월 26일
I am wondering how to plot two different curves with different matrix dimensions in one graph. At first i already did it, but the problem is when i was trying to set limits for two different y-axis. For first curve 0-10 and for second 0-90.
my currently code is:
figure
plot(fr792_10,k19);
hold on
plot(fr792_10vib2,j19vib2);
hold off
Any answer would be helpful.

채택된 답변

Walter Roberson
Walter Roberson 2015년 8월 26일
See plotyy()
  댓글 수: 1
gasocemo
gasocemo 2015년 8월 26일
I already tried but a dont know how to set xlim value for each curve.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by