isosurface on 3d unstructured triangular grid?

Hi all, recently I came across the isosurface function. What I would like to do is visualize data from a 3d finite element computation, where temperature distributions are of interest. Basically the isosurface function seems like the best choice, BUT: My data are on an unstructured, 3-dimensional, triangular grid.
While trying to execute the isosurface command with a test case I always get a "x,y,z vectors need to be monotonic" error. For an unstructured grid there will not be monotonicity in those vectors.
Is there any way to visualize isosurfaces or isovolumes from my kind of grid?
Jan

Respuestas (3)

Sean de Wolski
Sean de Wolski el 23 de Jun. de 2011

0 votos

Use patch directly with your triangular data.
Walter Roberson
Walter Roberson el 23 de Jun. de 2011

0 votos

You may need to use interpn() to convert to a regular grid.

Etiquetas

Preguntada:

Jan
el 23 de Jun. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by