trisurf — Display surface defined by a triangulation
hdl = trisurf(TRI,X,Y,Z,C)
3 by n matrix. A row of TRI contains indexes into the X,Y, and Z vertex vectors to define a single triangular face
1 by n matrix
1 by n matrix
1 by n matrix
1 by n matrix
Handle of the created Fac3d entity
trisurf(TRI,X,Y,Z,C) displays the triangles defined in the 3-by-n face matrix TRI as a surface. A row of TRI contains indexes into the X,Y, and Z vertex vectors to define a single triangular face. The color is defined by the vector C.
trisurf(TRI,X,Y,Z) uses C = Z, so color is proportional to surface height.
trisurf(...,'param','value','param','value'...) allows additional param/value pairs to be used. See mesh, surf, surfl for the possible param/value pairs.