Plot 3d closed surface with sparse data
Mostrar comentarios más antiguos
Hello,
I am trying to plot a heart, chest , lung etc, surface with matlab. I have the scattered data, and the clockwise arrangemnt of triangles, by this I mean I have the nodes of each corner of each triangle, the list looks like this,
for the nodes: x y z 1 0.0473 0.0409 0.0428 2 0.0856 0.0285 0.0068 3 0.0724 0.0755 0.0081 4 0.0178 0.0815 0.0118 5 0.0746 0.0033 -0.0366 6 0.0896 0.0546 -0.0355 and for the triangles node 1 2 3 1 50 51 144 2 50 144 140 3 140 144 145 4 140 145 141 5 141 145 146 6 141 146 147
Is there some way to plot the triangular surface in matlab with just one color?. When I call delanuay the mesh is different from the defined one by this list, and the color depends on the hight, I have not been able to plot the whole surface with just one color.
1 comentario
Pedro
el 26 de Mzo. de 2013
Respuestas (1)
Sean de Wolski
el 26 de Mzo. de 2013
doc patch
5 comentarios
Pedro
el 26 de Mzo. de 2013
Sean de Wolski
el 26 de Mzo. de 2013
You feed it the triangulation faces and vertices and it draw them
Did you open the doc?
Pedro
el 27 de Mzo. de 2013
Sean de Wolski
el 27 de Mzo. de 2013
patch can...
Pedro
el 27 de Mzo. de 2013
Categorías
Más información sobre Lighting, Transparency, and Shading en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!