Alpha shape multi-color surface
Mostrar comentarios más antiguos
I am plotting an alpha shape as follows:
shp = alphaShape(X,Y,Z)
plot(shp)
I understand that I can modify the FaceColor property of the entire shape; however, I'd like to manually specify the color of each triangle that makes up the surface. Is this possible via the shp structure. If not, what are my options?
I'm exploring the use of alphaTriangulation(shp) output and many trisurf plots with invididual color specs combined. However, I'm not sure of a good way to segment the trisurf plots. Furthermore, using trisurf seems to result in a graph that uses more resources and is very unresponsive.
Respuestas (2)
AM
el 4 de Oct. de 2019
1 voto
Vincent Zoutenbier
el 4 de Oct. de 2019
0 votos
Any Luck on this? I'm trying to do the same.
2 comentarios
darova
el 4 de Oct. de 2019
Please use comment section
You can use patch() if your have faces and nodes
Floor Fasen
el 19 de En. de 2023
[faces,nodes] = boundaryFacets(shp);
Categorías
Más información sobre Bounding Regions en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!