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

4 views (last 30 days)

Answers (1)

Walter Roberson
Walter Roberson on 29 Sep 2022
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