 Acceptable Plot Functions - Maple Help

Home : Support : Online Help : Graphics : 2-D : plot : plot/function

Acceptable Plot Functions Calling Sequence plot(f, h, v, options) Parameters

 f - function(s) to be plotted h - horizontal range v - vertical range Description

 • The procedure plot in Maple accepts three function types: a real function in a single variable expressed as an expression, or a Maple procedure, a parametric function, or a list of points.  If a procedure is being specified, operator notation must be used, that is, the procedure name given without parameters, and the range specified as simply a..b rather than as an equation.
 • A parametric function has the form $[x\left(t\right),y\left(t\right),t=\mathrm{range}\mathrm{of}t]$. If the option coords=polar is given, the parametric function is interpreted in polar coordinates.  Points will be equally spaced along the interval specified by the range of t in the parametric plot specification.  The points will not be evenly spaced according to the $x\left(t\right)y\left(t\right)$ specified.  The set of lists must contain one undefined variable in it.  If each list contained an undefined variable, then a terminal error would occur.  Hence, all parametric plots must be parametric with respect to the same variable.
 • A list of points has the form $[[\mathrm{x1},\mathrm{y1}],[\mathrm{x2},\mathrm{y2}],...,[\mathrm{xn},\mathrm{yn}]]$. Examples

 > $\mathrm{plot}\left(\mathrm{sin}\left(x\right),x=-\mathrm{\pi }..\mathrm{\pi },y=-1..1\right)$ > $\mathrm{plot}\left(\left[\mathrm{sin}\left(t\right),{t}^{3},t=7..22\right]\right)$ > $\mathrm{plot}\left(\mathrm{sin},-\mathrm{\pi }..\mathrm{\pi }\right)$ > w:=proc(x) if x<0 then -x elif (x>0) and (x<4) then x else -x+8 end if end proc:
 > $\mathrm{plot}\left(w,-5..6\right)$ > $\mathrm{plot}\left('-w\left(x\right)',x=-5..6\right)$ > $\mathrm{plot}\left(\left[\left[5,5\right],\left[6,6\right],\left[7,8\right],\left[9,20\right]\right]\right)$ 