Acceptable Plot Functions - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : 2-D : plot : Acceptable Plot Functions

Acceptable Plot Functions

 

Calling Sequence

Parameters

Description

Examples

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⁡t,y⁡t,t=range⁢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⁡t⁢⁢y⁡t 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 [[x1,y1],[x2,y2],...,[xn,yn]].

Examples

> 

plot⁡sin⁡x,x=−π..π,y=−1..1

> 

plot⁡sin⁡t,t3,t=7..22

> 

plot⁡sin,−π..π

> 

w:=proc(x) if x<0 then -x elif (x>0) and (x<4) then x else -x+8 end if end proc:

> 

plot⁡w&comma;−5..6

> 

plot⁡−w⁡x&comma;x=−5..6

> 

plot⁡5&comma;5&comma;6&comma;6&comma;7&comma;8&comma;9&comma;20

See Also

plot/options

plot/parametric

plots[polarplot]