isosurface on 3d unstructured triangular grid?

4 visualizzazioni (ultimi 30 giorni)
Jan
Jan il 23 Giu 2011
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

Risposte (3)

Sean de Wolski
Sean de Wolski il 23 Giu 2011
Use patch directly with your triangular data.

Walter Roberson
Walter Roberson il 23 Giu 2011
You may need to use interpn() to convert to a regular grid.

Patrick Kalita
Patrick Kalita il 23 Giu 2011
Have a look at the answer to this question.

Community Treasure Hunt

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

Start Hunting!

Translated by