ezsurf
(Not recommended) Plot 3-D surface
ezsurf is not recommended. Use fsurf instead.
Syntax
Description
ezsurf( plots a two-variable
symbolic expression or function f)f(x,y)
over the range -2*pi < x < 2*pi, -2*pi < y
< 2*pi.
ezsurf( plots
f,[xmin,xmax])f(x,y) over the specified range
xmin < x < xmax. This is the range along the
abscissa (horizontal axis).
ezsurf(
plots f,[xmin,xmax,ymin,ymax])f(x,y) over the specified ranges
along the abscissa, xmin < x < xmax, and the ordinate,
ymin < y < ymax.
When determining the range values, ezsurf sorts variables
alphabetically. For example, ezsurf(x^2 - a^3, [0,1,3,6])
plots x^2 - a^3 over
0 < a < 1,
3 < x < 6.
ezsurf( plots the parametric
surface x,y,z)x = x(s,t), y = y(s,t), z
= z(s,t) over the range -2*pi < s < 2*pi,
-2*pi < t < 2*pi.
ezsurf( plots the
parametric surface x,y,z,[smin,smax])x = x(s,t), y = y(s,t),
z = z(s,t) over the specified range smin < s
< smax.
ezsurf(___, specifies
the grid. You can specify n)n after the input arguments in
any of the previous syntaxes. By default, n = 60.
ezsurf(___,'circ') creates the surface plot
over a disk centered on the range. You can specify'circ'
after the input arguments in any of the previous syntaxes.
Examples
Input Arguments
Output Arguments
Tips
ezsurfchooses the computational grid according to the amount of variation that occurs. Iffis singular for some points on the grid, thenezsurfomits these points. The value at these points is set toNaN.
Version History
Introduced before R2006a








