Next: projectmap, Previous: project, Up: Internal Routines [Contents][Index]

`projection [, `

`matrix`, translate=`translate`,
rotate=`rotate`, scale=`scale`, perspective=`perspective`,
oblique=`oblique`] [, /reset, /original]

`[develop package]`

Sets, resets, or modifies the current
3d-transformation/projection. The following keywords and arguments are
always treated in the order in which they are mentioned here:

`/reset`

fills transformation matrix

`#p3d`

with the identity transformation.`matrix`is a 16-element (4 by 4) matrix to be entered into

`#p3d`

.`translate`is a 3-element vector containing the coordinates of a translation vector.

`perspective`for perspective projections is either a 3-element vector containing the relative screen coordinates of the center of the projection and the distance that the eye is behind the projection plane, or just the distance.

`rotate`is a 3-element vector containing the rotation angles around the x, y, and z axis.

`scale`is a 3-element vector containing the scale factors in the x, y, and z directions.

`oblique`is a 2-element vector for isometric projections (first element: size, second element: angle).

`/original`

selects the original (data-cube related) coordinate system instead of the current (screen-related) coordinate system.

All arguments but

may be specified by keyword.
`matrix`