plottools[project] - projecting PLOT and PLOT3D data structures
|
Calling Sequence
|
|
project(p, [pt_2d, pt_2d])
project(q, [pt_3d, pt_3d])
project(q, [pt_3d, pt_3d, pt_3d])
|
|
Parameters
|
|
p
|
-
|
PLOT data structure or a 2-D object
|
q
|
-
|
PLOT3D data structure or a 3-D object
|
pt_2d
|
-
|
(optional) list of two real numbers specifying a point in 2-D
|
pt_3d
|
-
|
(optional) list of three real numbers specifying a point in 3-D
|
|
|
|
|
Description
|
|
•
|
The project command takes a plot structure or object and produces a new plot structure or object.
|
•
|
In two dimensional case, an object can be projected on a given line.
|
•
|
In three dimensional case, an object can be projected on a given a line, or a given plane.
|
|
A point is represented as a list of either two real numbers (2-D) or three real numbers (3-D).
|
|
A line is represented as a list of two distinct points.
|
|
A plane is represented as a list of three distinct points.
|
•
|
The result of a call to project is a 2-D or 3-D plot structure or object, which may be displayed with the plots[display] command. You can assign the data structure to a variable, save it in a file, then read it back in for redisplay. For more information about plot data structures, see plot/structure or plot3d/structure.
|
|
|
Examples
|
|
Note: The following example also uses the plottools[reflect] command.
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
|
|
Download Help Document
Was this information helpful?