How to plot surface with contour form vertices?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Teerapong Poltue
le 9 Juil 2021
Modifié(e) : Teerapong Poltue
le 11 Juil 2021
I got the vertices for my 3D surface and its value that need to be contoured.
I wonder how to do a surface plot with contour?
I found a simple way to do it with a scatter plot, but I don't know how to implement the code to be surface.
x = data(:,1);
y = data(:,2);
z = data(:,3);
d = data(:,4);
marker_size = 10;
scatter3(x,y,z,marker_size,d,'filled');
view(3)
daspect([1 1 1])
colorbar
axis tight
camlight
lighting gouraud
0 commentaires
Réponse acceptée
LO
le 9 Juil 2021
try this
https://de.mathworks.com/matlabcentral/fileexchange/5105-making-surface-plots-from-scatter-data
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Lighting, Transparency, and Shading dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!