Skip to content

ezmesh

plot · scripts/plot/draw/ezmesh.m

: h = ezmesh (f)
: h = ezmesh (f, dom)
: h = ezmesh (f, dom, n)
: h = ezmesh (fx, fy, fz, …)
: h = ezmesh (…, "circ")
: h = ezmesh (ax, …)

Plot a function of two variables as a wireframe surface.

f is a function handle or string expression in x and y, evaluated on an n-by-n grid (default 60) over the domain dom ([min max] for both variables or [xmin xmax ymin ymax]; default [-2*pi, 2*pi]). Three functions of s and t give a parametric surface. The option "circ" evaluates over a disc instead of a rectangle.

The surface handle is returned.