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

8 次查看(过去 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.

Community Treasure Hunt

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

Start Hunting!

Translated by