How can I plot 2 different graphs on the same axis ?
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Valentin Debris
el 13 de Mzo. de 2015
Respondida: Star Strider
el 13 de Mzo. de 2015
Hi,
I have 2 graphs (each one represent a model in a catia file), one is on the Y-X axis and the other one in Z-X. I need to plot those 2 graphs on the Y-X axis, how can I change the axis for the second graph in matlab ? (if it's possible)
Thanks for your help, Valentin
0 comentarios
Respuesta aceptada
Star Strider
el 13 de Mzo. de 2015
If I understand correctly what you want to do, use the hold function.
For example:
figure(1)
plot(X, Y)
hold on
plot(X,Z)
hold off
grid
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!