Syntax
ezplot(f)
ezplot(f,[min,max])
ezplot(f,[xmin,xmax,ymin,ymax])
ezplot(x,y)
ezplot(x,y,[tmin,tmax])
ezplot(...,figure)
Description
ezplot(f) plots the expression f = f(x) over the default domain: -2
< x < src="http://www.physiol.ox.ac.uk/Computing/Online_Documentation/Matlab/techdoc/ref/pi.gif" align="bottom">.
ezplot(f,[min,max]) plots f = f(x) over the domain: min < x < max.
For implicitly defined functions, f = f(x,y):
ezplot(f) plots f(x,y) = 0 over the default domain -2
< x < src="http://www.physiol.ox.ac.uk/Computing/Online_Documentation/Matlab/techdoc/ref/pi.gif" align="bottom">, -2
< y < src="http://www.physiol.ox.ac.uk/Computing/Online_Documentation/Matlab/techdoc/ref/pi.gif" align="bottom">.
ezplot(f,[xmin,xmax,ymin,ymax]) plots f(x,y) = 0 over xmin < x < xmax and ymin < y < ymax.
ezplot(f,[min,max])plots f(x,y) = 0 over min < x < max and min < y < max.
If f is a function of the variables u and v (rather than x and y), then the domain endpoints umin, umax, vmin, and vmax are sorted alphabetically. Thus, ezplot('u^2 - v^2 - 1',[-3,2,-2,3]) plots u2 - v2 - 1 = 0 over -3 < u <>v <>
ezplot(x,y) plots the parametrically defined planar curve x = x(t) and y = y(t) over the default domain 0 < t < src="http://www.physiol.ox.ac.uk/Computing/Online_Documentation/Matlab/techdoc/ref/pi.gif" align="bottom">.
ezplot(x,y,[tmin,tmax]) plots x = x(t) and y = y(t) over tmin < t < tmax.
ezplot(...,figure) plots the given function over the specified domain in the figure window identified by the handle figure.
Remarks
Array multiplication, division, and exponentiation are always implied in the expression you pass to ezplot. For example, the MATLAB syntax for a plot of the expression,
which represents an implicitly defined function, is written as:
That is, x^2 is interpreted as x.^2 in the string you pass to ezplot.
Examples
This example plots the implicitly defined function,
ezplot3
Easy to use 3-D parametric curve plotter
Syntax
Description
ezplot3(x,y,z) plots the spatial curve x = x(t), y = y(t), and z = z(t) over the default domain 0 < t < src="http://www.physiol.ox.ac.uk/Computing/Online_Documentation/Matlab/techdoc/ref/pi.gif" align="bottom">.
ezplot3(x,y,z,[tmin,tmax]) plots the curve x = x(t), y = y(t), and z = z(t) over the domain tmin <>tmax.
ezplot3(...,'animate') produces an animated trace of the spatial curve.
Remarks
Array multiplication, division, and exponentiation are always implied in the expression you pass to ezplot3. For example, the MATLAB syntax for a plot of the expression,
which represents a parametric function, is written as:
That is, s/2 is interpreted as s./2 in the string you pass to ezplot3.
Examples
This example plots the parametric curve,

No comments:
Post a Comment