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 Center および File Exchange2-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