MESH

 

 3-D mesh surface.

  MESH(X,Y,Z,C) plots the colored parametric mesh defined by

  four matrix arguments.  The view point is specified by VIEW1HRQVU2.

  The axis labels are determined by the range of X, Y and Z,

  or by the current setting of AXIS146URU2.  The color scaling is determined

  by the range of C, or by the current setting of CAXIS13534KK.  The scaled

  color values are used as indices into the current COLORMAPBOEE9I.

 

 

  MESH(X,Y,Z) uses C = Z, so color is proportional to mesh height.

 

 

  MESH(x,y,Z) and MESH(x,y,Z,C), with two vector arguments replacing

  the first two matrix arguments, must have length(x) = n and

  length(y) = m where [m,n] = size(Z).  In this case, the vertices

  of the mesh lines are the triples (x(j), y(i), Z(i,j)).

  Note that x corresponds to the columns of Z and y corresponds to

  the rows.

 

 

  MESH(Z) and MESH(Z,C) use x = 1:n and y = 1:m.  In this case,

  the height, Z, is a single-valued function, defined over a

  geometrically rectangular grid.

 

 

  MESH returns a handle to a SURFACEZ9CYVV object.

 

 

  AXIS146URU2, CAXIS13534KK, COLORMAPBOEE9I, HOLD10XXCU2, SHADING2CSNZW7 and VIEW1HRQVU2 set figure, axes, and 

  surface properties which affect the display of the mesh.

 

 

  See also SURF1F43EU2, MESHCYPTVE2, MESHZYPUBE2, WATERFALL1T92PDN.