Student[MultivariateCalculus] - Maple Programming Help

Home : Support : Online Help : Education : Student Packages : Multivariate Calculus : Lines and Planes : Student/MultivariateCalculus/GetPlot

Student[MultivariateCalculus]

 GetPlot
 graph a line or plane

 Calling Sequence GetPlot(l, lineopts) GetPlot(p, planeopts)

Parameters

 l - Line ; Line object defined by Student[MultivariateCalculus] p - Plane ; Plane object defined by Student[MultivariateCalculus] lineopts, planeopts - (optional) equations controlling the look of the plot

Options

 • The following options, indicated with lineopts in the calling sequence above, can be used when graphing a Line object:
 – parameter = name
 The variable used in the vector form of the equation of a line. This is used for creating the caption. The default value is the value supplied when the Line object was created, or $t$ when no such value was supplied.
 – lineoptions = list
 A list of plot options applied when constructing the graph for the line.  For more information on plot options, see plot3d,options and plot,options.
 – pointoptions = list
 A list of plot options applied when constructing the graph for a point on the line.  For more information on plot options, see plot3d,options and plot,options.
 – vectoroptions = list
 A list of options applied when constructing the arrow. These are passed to the plots[arrow] command, so they can be general plot options (explained at plot3d,options and plot,options) or options specific to plots[arrow].
 – plotoptions = list
 A list of plot options applied to all parts of the graph.  For more information on plot options, see plot3d,options and plot,options.
 – showline = true or false
 Whether the line is shown in the graph.  Default is true.
 – showvector = true or false
 Whether the direction vector is shown in the graph (using an arrow).  Default is true.
 – showpoint = true or false
 Whether a point on the line is shown in the graph.  Default is true.
 – caption = string
 A caption for the graph.  It can be disabled by supplying the empty string, $""$, as the caption, using the option $\mathrm{caption}=""$.

 • The following options, indicated with planeopts in the calling sequence above, can be used when graphing a Plane object:
 – planeoptions = list
 A list of plot options applied when constructing the graph for the plane.  For more information on plot options, see plot3d,options.
 – pointoptions = list
 A list of plot options applied when constructing the graph for a point on the plane.  For more information on plot options, see plot3d,options.
 – normaloptions = list
 A list of options applied when constructing the arrow. These are passed to the plots[arrow] command, so they can be general plot options (explained at plot3d,options) or options specific to plots[arrow].
 – plotoptions = list
 A list of plot options applied to all parts of the graph.  For more information on plot options, see plot3d,options.
 – showplane = true or false
 Whether the plane is shown in the graph.  Default is true.
 – showpoint = true or false
 Whether the point is shown in the graph.  Default is true.
 – shownormal = true or false
 Whether the normal vector is shown in the graph. Default is true.
 – caption = string
 A caption for the graph.  It can be disabled by supplying the empty string, $""$, as the caption, using the option $\mathrm{caption}=""$.

Description

 • The GetPlot command generates a graph of Line and Plane objects and their various characteristics.  For Line objects, a point on the line and the direction vector are included by default.  For Plane objects, a point on the plane and the normal vector are included by default.

Examples

 > $\mathrm{with}\left(\mathrm{Student}\left[\mathrm{MultivariateCalculus}\right]\right):$
 > $\mathrm{l1}≔\mathrm{Line}\left(\left[1,7,4\right],⟨5,4,2⟩\right):$
 > $\mathrm{GetPlot}\left(\mathrm{l1}\right)$
 > $\mathrm{GetPlot}\left(\mathrm{l1},'\mathrm{caption}'="My first line"\right)$
 > $\mathrm{GetPlot}\left(\mathrm{l1},'\mathrm{vectoroptions}'=\left['\mathrm{width}'=\frac{1}{2},'\mathrm{shape}'='\mathrm{harpoon}','\mathrm{color}'='\mathrm{red}'\right],'\mathrm{lineoptions}'=\left['\mathrm{color}'='\mathrm{green}'\right],'\mathrm{showpoint}'='\mathrm{false}'\right)$
 > $\mathrm{p1}≔\mathrm{Plane}\left(\left[4,3,-1\right],⟨-5,2,5⟩\right):$
 > $\mathrm{GetPlot}\left(\mathrm{p1}\right)$
 > $\mathrm{GetPlot}\left(\mathrm{p1},'\mathrm{shownormal}'=\mathrm{false}\right)$

Compatibility

 • The Student[MultivariateCalculus][GetPlot] command was introduced in Maple 17.