Function Reference
— Function File: surface (x, y, z, c)
— Function File: surface (x, y, z)
— Function File: surface (z, c)
— Function File: surface (z)
— Function File: surface (..., prop, val)
— Function File: surface (h, ...)
— Function File: h = surface (...)

Plot a surface graphic object given matrices x, and y from meshgrid and a matrix z corresponding to the x and y coordinates of the surface. If x and y are vectors, then a typical vertex is (x(j), y(i), z(i,j)). Thus, columns of z correspond to different x values and rows of z correspond to different y values. If x and y are missing, they are constructed from size of the matrix z.

Any additional properties passed are assigned the the surface..

See also: surf mesh patch line