How do I plot 2 surf plots in the same figure
30 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jett Marcos
el 6 de Feb. de 2018
Comentada: Luis Carrion
el 13 de Jul. de 2022
so I have 2 surf plots Z1 and Z2. I can plot both separately using
surf(X,Y,Z1) and
surf(X,Y,Z2)
but how do I plot them together on the same plot?
1 comentario
Luis Carrion
el 13 de Jul. de 2022
In the sme figure, but different axes:
tiledlayout(rows, columns)
nexttile
surf(X,Y,Z1)
nexttile
surf(X,Y,Z2)
Respuesta aceptada
Star Strider
el 6 de Feb. de 2018
figure(1)
surf(X,Y,Z1)
hold on
surf(X,Y,Z2)
hold off
grid on
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Graphics Object Properties 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!