trisurf: Removing Unwanted Lines and Surfaces from Irregular 3D Plot

6 次查看(过去 30 天)

回答(1 个)

Walter Roberson
Walter Roberson 2022-9-29
You should not do this at the trisurf() level; you should be creating a modifed triangulation
trisurf returns a patch object, so in theory you could modify the properties of the patch object, such as setting the color of some edges to be off or deleting the edges from the patch object... but finding the right edges to modify is going to be tricky. Better to produce a cleaner object in the first place.
Can you produce a cleaner object? If you do not want those regions joined at all, you should probably be considering isolating the islands and producing separate graphic objects for each one.

类别

Help CenterFile Exchange 中查找有关 Graphics Object Properties 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by