Color subset of vertices in 3D model
5 次查看(过去 30 天)
显示 更早的评论
Hi, I have an STL model (vertices and faces) and am trying to change the color of a subset of the vertices of the full model. The desired colors of the points is saved in a large array with each row representing one vertice. I have tried every variation of patch, CData, and FaceVertexCData that I can think of, including plotting the full model then replotting the vertices and CData information, just plotting vertices and CData (which plots 2D for some reason). The closest I have come is a 2D plot of lines with some of the lines colors other than black. Any advice on how to change the color of a subset of vertices would be greatly appreciate! Thanks.
3 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polygons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!