Student/VectorCalculus/PlotVector - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Student/VectorCalculus/PlotVector

Student[VectorCalculus]

  

PlotVector

  

plots a Student[VectorCalculus] Vector object

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

PlotVector(v, opts)

Parameters

v

-

Vector or list(Vector); specify which Vector(s) to plot

opts

-

(optional) plot options

Description

• 

The PlotVector(v) command takes a Vector or a list of Vectors, and plots them in the appropriate form:

– 

Free Vectors and rooted Vectors are plotted using plots[arrow]. Rooted Vectors are positioned correctly.

– 

Vector fields are plotted using plots[fieldplot] or plots[fieldplot3d]. If one or more ranges are missing in opts, a default range is applied.

• 

If v is a Vector, the plot options given in opts will be passed on to the appropriate plot command.

• 

If v is a list of Vectors, then the appropriate plotting command is invoked for each Vector in v with the plot options given in opts.

– 

To visually distinguish these Vectors in the plot, the color plot option can be supplied as a list. If this is done, Vectors in v will be plotted using respective colors from this list. In particular, the color list and the list of Vectors v must have the same size.

– 

Note that the color option can also be given as colour. For more information, please see plot/color and plot/colornames.

• 

Use PlotPositionVector to plot position Vectors.

Examples

withStudentVectorCalculus:

vs1VectorSpacecartesianx,y,0,0:

vs2VectorSpacecartesianx,y,1,2:

PlotVectorvs1:-Vector1,2,vs1:-Vector3,2,vs2:-Vector2,0,scaling=constrained

PlotVectorvs1:-Vector1,2,vs1:-Vector3,2,vs2:-Vector2,0,color=Niagara Red,Niagara Green,Niagara Blue,scaling=constrained

PlotVectorVectorField0,1,polarr,t,r=0..1,t=0..3π2,axes=normal

See Also

plots[arrow]

plots[fieldplot]

Student[VectorCalculus]

Student[VectorCalculus][PlotPositionVector]

Student[VectorCalculus][VectorField]

Student[VectorCalculus][VectorSpace]