Skip to content

ezcontourf

plot · scripts/plot/draw/ezcontourf.m

: h = ezcontourf (f)
: h = ezcontourf (f, dom)
: h = ezcontourf (f, dom, n)
: [c, h] = ezcontourf (…)
: h = ezcontourf (ax, …)

Plot filled contours of a function of two variables.

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]).

With one output the contour group object is returned; with two outputs the contour matrix and the group object.