plot3d.matrix {smoothAPC} | R Documentation |
Presents matrix as a 3D surface
Description
Presents matrix as a 3D surface
Usage
## S3 method for class 'matrix'
plot3d(x, labs = c("X", "Y", "Z"),
color.palette = c("default", "special"), ...)
Arguments
x |
Matrix to plot. |
labs |
Vector of labels for X, Y and Z axes. |
color.palette |
Character string |
... |
Other parameters. They are currently ignored. |
Author(s)
Alexander Dokumentov
Examples
plot3d(matrix(rnorm(100),10,10))
plot3d(matrix(1:100,10,10), c("Dimension 1", "Dimension 2", "Value"))
library(demography)
m <- log(fr.mort$rate$female[1:30, 150:160])
plot3d(m)
plot3d(m, color.palette = "special")
plot3d(m, color.palette = rainbow)
[Package smoothAPC version 0.3 Index]