FEATool
v1.8 Finite Element Analysis Toolbox |

contour2.m File Reference

CONTOUR2 Generate contours on unstructured triangles.

[ X, Y, GROUPS, IX_T ] = CONTOUR2( P, T, CDATA, LEV, DO_GROUPS ) Generates contour line data for isovalue LEV on triangular cells defined by P and T, with CDATA value in the nodes P. DO_GROUPS indicates if groupings of connected line segments should be computed and returned as a cell array GROUPS of index arrays to X and Y. IX_T are indices pointing out which grid cell in T each countour segment in X/Y originates from.