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

8 visualizaciones (últimos 30 días)
Jesse Gabriel
Jesse Gabriel el 29 de Sept. de 2022
Respondida: Walter Roberson el 29 de Sept. de 2022

Respuestas (1)

Walter Roberson
Walter Roberson el 29 de Sept. de 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.

Categorías

Más información sobre Graphics Object Properties en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by