Description Usage Arguments See Also Examples
Simple plotting functions for testing both 2d and 3d transformations.
Note that currently, the spin3d function only doesn't work well for objects, where the x/y/z ranges are considerably different.
e.g. An x and y range between -10 and 10, and a z range between 0 and 1000.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | vt3.testplot (v=SQUARE, ...,
main="", xlab="x", ylab="y",
xlim = c (-4.5, 4.5), ylim=xlim,
grid.lines=TRUE, cross.hairs=grid.lines,
proj="xy", sort=TRUE)
vt3.testplot3 (v=CUBE, ...,
main = c ("proj=xy", "proj=xz", "proj=yz"),
xlab="x", ylab="y", zlab="z",
xlim = c (-4.5, 4.5), ylim=xlim, zlim=xlim,
grid.lines=TRUE, cross.hairs=grid.lines,
sort=TRUE)
spin3d (v=CUBE, ..., t=5)
|
v |
A GeomObject, which includes a GeomArray. |
main, xlab, ylab, zlab |
Strings, the main, x axis and y axis titles. |
xlim, ylim, zlim |
Numeric vectors of length two, giving the x, y and z ranges. |
grid.lines |
Logical, add grid lines. |
cross.hairs |
Logical, add lines running through the origin. |
proj |
String, either "xy", "xz" or "yz", projection for 3D objects. |
sort |
Logical, if true (the default), depth-sort 3D objects. |
t |
Numeric, approximate number of seconds. |
... |
Ignored. |
MatrixArray
Binary Operators
This describes how to perform operations on MatrixArray objects.
Pre-Multiplication Transformation Matrices
Post-Multiplication Transformation Matrices
SQUARE, CUBE
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.