Skip to content

ezsurf

plot · scripts/plot/draw/ezsurf.m

: ezsurf (f)
: ezsurf (f, domain)
: ezsurf (…, n)
: ezsurf (…, "circ")
: ezsurf (ax, …)
: h = ezsurf (…)

Plot the function f(x,y) as a shaded surface.

f is a function handle or an expression string in x and y. The domain is [min max] for both variables or [xmin xmax ymin ymax] (default [-2*pi 2*pi]), n the number of grid points per direction (default 60). With "circ" the function is evaluated on the disc inscribed in the domain only. The axes get the title f and the labels ‘x’ and ‘y’.