Superimposed multiple different Surface on Same plot ?
Mostra commenti meno recenti

please Could somebody help me? i wanna superimpose surface like this on the same plot ...at the Position Z=[-1 0 1] it is a housing with : ground floor, Firt floor and Second floor
4 Commenti
KSSV
il 31 Ago 2017
What problem you are facing? Use hold on and do the way you have done as shown in figure.
Magni Wembé Yves
il 31 Ago 2017
KSSV
il 31 Ago 2017
Attach your code....
José-Luis
il 31 Ago 2017
Are you trying to produce blueprints?
I would seriously consider not using Matlab for that. This is what CAD is for.
Risposte (1)
José-Luis
il 31 Ago 2017
[X,Y,Z] = peaks(25);
floor_space = 10;
%First floor
surf(X,Y,Z); hold on
%Second floor
surf(X,Y,Z + floor_space);
%Third floor
surf(X,Y,Z + 2.*floor_space); hold on
2 Commenti
Magni Wembé Yves
il 31 Ago 2017
José-Luis
il 31 Ago 2017
Peaks is just a placeholder, used to generate synthetic data. Why don't you use your own data and use an offset for the z values, which is what my answer suggests.
Categorie
Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!