Code covered by the BSD License  

Highlights from


5.0 | 3 ratings Rate this file 16 Downloads (last 30 days) File Size: 9.98 KB File ID: #40847
image thumbnail




Contouring and filled contouring for unstructured 2D triangular meshes

| Watch this File

File Information

TRICONT and TRICONTF have functionality equivalent to that of CONTOUR and CONTOURF, but the surface is defined over a 2D mesh of triangular elements (which may have a non-convex hull and/or may contain interior holes).

TRIDEMO gives a demonstration.

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
02 Jun 2014 rmc256

Works wonderfully, better than previous submissions (tricontour). The contours of my mesh were being split with tricontour (produced two contours, even though same level and connected), but tricont produces the correct contours. Saved me a lot of debug time.

24 Mar 2013 Victor

Works well! Thanks!

18 Mar 2013 Thomas Benson

I've been waiting for someone out there to do triangular mesh filled contours for ages now (I did have a go a trying to code myself but found it very tricky to make it generic). Hats off to you Rich. I haven't tested thoroughly but tidiness of code and what it promises to do means I'll give it 5 anyway!

Contact us