Function: arrow2d - plot an arrow as a line with a triangular head.

Calling sequence:

arrow2d(base,vect);
Parameters:

base - base of the arrow, a 2D point ( list or vector)

vect - displacement (tip - base), a 2D point (list or vector)

Optional arguments:

Description:

Examples:

> with(surfarro,arrow2d):

> a1:= arrow2d([0,0],[1,0]):
a2:= arrow2d([1,0],[0,1]-[1,0]):
a3:= arrow2d([0,1],[0,-1],scalefactor=1/2):
a4:= arrow2d([0,0],[0,1/2],colour=blue):
plots[display]({a1,a2,a3,a4},scaling=constrained,axes=box);

[Maple Plot]

See also: arrow3d , curvarrows , display

Maple Advisor Database R. Israel, 1998