how to draw 3D plot
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Xin CUI
le 16 Jan 2014
Réponse apportée : Walter Roberson
le 17 Jan 2014
Hi, I am a newbie for 3D plot. I have a dataset including 1000 rows and 3 columns. I treat each row as one observation, which has three values(three columns). I want to draw a 3D plot using this dataset. I tried to draw it in different ways. I used plot3 and it only gives me lines. I used surf(x,y,z) and mesh(x,y,z) where x, y and z are 1000 by 1 vector only to get error message. Please help me with this. I want to get some kind of smooth surface if possible. Thanks.
2 commentaires
Réponse acceptée
Walter Roberson
le 17 Jan 2014
Use TriScatteredInterp or the newer GriddedInterpolant
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Annotations 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!