Description Usage Arguments Value Author(s) See Also Examples
moviepersp3D
plots moving perspective plots of a surface in open-GL.
It is based on the plot3Drgl
function persp3Drgl.
1 2 3 4 |
x, y, t |
Vectors with x, y and t-values.
Their position in the z-array depends on |
z |
Three-dimensional array with the z-values to be plotted. |
tdim |
Index to where the |
colvar |
The variable used for coloring.
It should be an array of dimension equal to the dimension of |
col |
Colors to be used for coloring the |
NAcol |
Colors to be used for |
breaks |
A set of finite numeric breakpoints for the colors; must have one more breakpoint than color and be in increasing order. Unsorted vectors will be sorted, with a warning. |
colkey |
A logical, |
clim |
Only if |
clab |
Only if |
add |
Logical. If |
ask |
Logical. If |
wait |
The time interval inbetween drawing of a new slice, in seconds.
If |
basename |
The base name of a |
... |
additional arguments passed to persp3Drgl from package
|
returns nothing
Karline Soetaert <karline.soetaert@nioz.nl>
Sylt3D for a data set that can be displayed with moviepersp3D
moviepoints3D for plotting moving points in 3D
movieslice3D for plotting moving slices in 3D
1 2 3 4 5 6 7 8 9 10 11 12 | x <- y <- t <- seq(-1, 1, by = 0.1)
grid <- mesh(x, y, t)
z <- with(grid, x*exp(-x^2 - y^2 - z^2))
moviepersp3D (x, y, z = z, colvar = z, colkey = TRUE,
ticktype = "detailed", wait = 0.1, main = "t = ")
## Not run:
moviepersp3D (x, y, z = z, colvar = z, colkey = TRUE,
aspect = TRUE, bty = "n", ask = FALSE, main = "t = ")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.