How can I create this kind of plot? It is like a picture that is composed of 3 matrices of coordinates points (x,y,z) and its plot by layers (6 layers)
1 view (last 30 days)
Show older comments
0 Comments
Answers (1)
Star Strider
on 28 Mar 2015
I’m not certain what plots you want to stack, but you can certainly stack surf plots.
For Example:
A = randi(5, 10, 10);
B = randi(5, 10, 10);
C = randi(5, 10, 10);
[X,Y] = meshgrid(0:9, 0:0.1:0.9);
figure(1)
surf(X, Y, A+5)
hold on
surf(X, Y, B+15)
surf(X, Y, C+25)
hold off
grid on
0 Comments
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!