Next: Plot Annotations, Previous: Specialized Two-Dimensional Plots, Up: Plotting

The Matlab-style three-dimensional plotting commands are:

— Function File: **mesh** (`x, y, z`)

Plot a mesh given matrices

x, andyfrom`meshdom`

and a matrixzcorresponding to thexandycoordinates of the mesh. Ifxandyare vectors, then a typical vertex is (x(j),y(i),z(i,j)). Thus, columns ofzcorrespond to differentxvalues and rows ofzcorrespond to differentyvalues.