How to plot two different curves in one plot?

8 visualizaciones (últimos 30 días)
gasocemo
gasocemo el 26 de Ag. de 2015
Comentada: gasocemo el 26 de Ag. de 2015
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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 26 de Ag. de 2015
See plotyy()
  1 comentario
gasocemo
gasocemo el 26 de Ag. de 2015
I already tried but a dont know how to set xlim value for each curve.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by