Function Reference
— Function File: ezcontourf (f)
— Function File: ezcontourf (..., dom)
— Function File: ezcontourf (..., n)
— Function File: ezcontourf (h, ...)
— Function File: h = ezcontourf (...)

Plots the filled contour lines of a function. f is a string, inline function or function handle with two arguments defining the function. By default the plot is over the domain -2*pi < x < 2*pi and -2*pi < y < 2*pi with 60 points in each dimension.

If dom is a two element vector, it represents the minimum and maximum value of both x and y. If dom is a four element vector, then the minimum and maximum value of x and y are specify separately.

n is a scalar defining the number of points to use in each dimension.

The optional return value h provides a list of handles to the the parts of the vector field (body, arrow and marker).

          f = @(x,y) sqrt(abs(x .* y)) ./ (1 + x.^2 + y.^2);
          ezcontourf (f, [-3, 3]);

Demonstration 1

The following code

 f = @(x,y) sqrt(abs(x .* y)) ./ (1 + x.^2 + y.^2);
 ezcontourf (f, [-3, 3]);

Produces the following figure