The following Matlab project contains the source code and Matlab examples used for extends the matlab command trisurf() to put a contour plot below the mesh. .
[cout,hout] = trisurfc(xin,yin,zin,N)
Regularly just called by with the following syntax to produce a plot:
Where xin,yin,zin are 1-D arrays of the x,y,z triples of the points in your mesh.