Skip to content

mesh

plot · scripts/plot/draw/mesh.m

: mesh (z)
: mesh (x, y, z)
: mesh (…, c)
: mesh (…, prop, val)
: mesh (ax, …)
: h = mesh (…)

Draw a wireframe surface.

z is a matrix of heights. x and y are either vectors with columns (z) and rows (z) elements or matrices of the size of z; they default to the column and row indices. The optional c gives the colour data (default: z).

The surface handle is returned.