'stacking' 2D graphs on top of each other.
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
CLARK KENDRICK GO
am 14 Mär. 2018
Beantwortet: Unai San Miguel
am 14 Mär. 2018
I have multiple 2D graphs (but of different lengths/sizes). I want to stack them together to form a 3D image (not necessarily a surface). Stacking them on top of each other is fine without the surface. Please help me make this kind of graph.
0 Kommentare
Akzeptierte Antwort
Unai San Miguel
am 14 Mär. 2018
There are plot3, contour3 versions of plot, contour for which you would have to add a third coordinate for each 2D plot, if that is what you are trying to do. For instance
plot(x1, y1)
plot(x2, y2)
plot3(x1, y1, repmat(z1, size(x1)))
hold on
plot3(x2, y2, repmat(z2, size(x2)))
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!