The fcontour
function requires that the input function to
plot is a function handle. The ezcontourf
function accepted
either a function handle or character vector.
For example, use fcontour(@(x,y) sin(x)+cos(y),'Fill','on')
instead of ezcontourf('sin(x)+cos(y)')
.