In this general setting, the surface need not be a single valued function of x and y . Moreover, the four-sided surface patches need not be planar. For example, surfaces defined in polar, cylindrical, and spherical coordinates systems can be represented. The color within a patch is a bilinear function of the local coordinates. In this case, C can have the same size as X , Y , and Z and its last row and column are ignored, or its row and column dimensions can be one less than those of X , Y , and Z .
Examples Produce a combination surface and contour plot of the peaks surface.
Copyright 1994 by The MathWorks, Inc.