Acceptable Plot Functions - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

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 [xt,yt,t=rangeoft]. 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 xtyt 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

plotsinx,x=π..π,y=1..1

plotsint,t3,t=7..22

plotsin,π..π

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

plotw&comma;5..6

plot&apos;wx&apos;&comma;x&equals;5..6

plot5&comma;5&comma;6&comma;6&comma;7&comma;8&comma;9&comma;20

See Also

plot/options

plot/parametric

plots[polarplot]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam