CrossProductPlot - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

# Online Help

###### All Products    Maple    MapleSim

Student[LinearAlgebra]

 CrossProductPlot
 plot the cross product of two vectors

 Calling Sequence CrossProductPlot(u, v, opts)

Parameters

 u - 3-D Vector v - 3-D Vector opts - plotting options or equation(s) of the form option=value where option is one of crossoptions, vectorcolors, vectoroptions, or Student plot options; specify options for the plot

Description

 • The CrossProductPlot(u,v) command displays two 3-D Vectors u and v and their cross product $u\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}&x\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}v$.
 • The opts argument can contain any of the Student plot options or any of the following equations that set plot options.
 crossoptions = list(algebraic)
 A list of options for the plot of the cross product u &x v. For more information on arrow plot options, see plot/arrow. [Default: solid arrow]
 vectorcolors = [color, color, color]
 A list of colors for u, v, and u &x v. For more information on plot color options, see plot/color.
 vectoroptions = list(algebraic)
 A list of options for the plot of the two vectors u and v.  For more information on arrow plot options, see plot/arrow. [Default: solid arrow]
 caption = anything
 A caption for the plot.
 The default caption is constructed from the parameters and the command options. caption = "" disables the default caption. For more information about specifying a caption, see plot/typesetting.

Examples

The commands to create the plot from the Plotting Guide are

 > $\mathrm{with}\left(\mathrm{Student}\left[\mathrm{LinearAlgebra}\right]\right):$
 > $\mathrm{infolevel}\left[\mathrm{Student}\left[\mathrm{LinearAlgebra}\right]\right]≔1:$
 > $u≔⟨2,-1,4⟩$
 ${u}{≔}\left[\begin{array}{c}{2}\\ {-1}\\ {4}\end{array}\right]$ (1)
 > $v≔⟨3,-2,1⟩$
 ${v}{≔}\left[\begin{array}{c}{3}\\ {-2}\\ {1}\end{array}\right]$ (2)
 > $u\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}&x\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}v$
 $\left[\begin{array}{c}{7}\\ {10}\\ {-1}\end{array}\right]$ (3)
 > $\mathrm{CrossProductPlot}\left(u,v\right)$
 <2, -1, 4> &x <3, -2, 1> =      <7, 10, -1>

 See Also