# surf

Surface plot

### surf(Z)

• Z is a non-empty matrix, i.e., ndims(Z) == 2.
• Z(i,j) is the z-value of a bivariate function at the grid point [i,j].

### surf(X, Y, Z)

• X and Y are non-empty matrices of the same sizes, representing grid points on which the surface plot is generated. X and Y can be obtained by meshgrid().
• Z is a non-empty matrix of the same size of X and Y, representing z-value of a grid point.
• See the example for meshgrid().