fill a portion of a sphere specifying bounds with edges rather than vertices
2 次查看(过去 30 天)
显示 更早的评论
I'm trying to fill a portion of a specifically segmented sphere (pictured below) but the fill3() and patch() functions aren't working because they use polygon vertices as the inputs, and the polygons below are created by the intersection of 2 curved lines. Is there a way to fill a portion of this curved surface by specifying its bounds with its edges rather than its vertices?
0 个评论
回答(1 个)
Walter Roberson
2017-9-9
"Is there a way to fill a portion of this curved surface by specifying its bounds with its edges rather than its vertices"
No, there is not.
However, instead of using fill3(), create the patch with FaceColor 'flat', and specify CData or FaceVertexCData with one color per face, giving the neutral grey for the other faces and giving red for the two faces you want to fill.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!