How to plot two different curves in one plot?

1 次查看(过去 30 天)
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()

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Two y-axis 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by