trisurf: Removing Unwanted Lines and Surfaces from Irregular 3D Plot
8 views (last 30 days)
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.