Code covered by the BSD License  

Highlights from

5.0 | 4 ratings Rate this file 13 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 (4)
27 Jan 2015 Xinwen Li

the work is wonderful!
for most of time I get smooth contour lines.While sometimes the there exist "saw-tooth" on the contour lines

02 Jun 2014 rmc256

rmc256 (view profile)

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

Victor (view profile)

Works well! Thanks!

18 Mar 2013 Thomas Benson

Thomas Benson (view profile)

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