Methods of 3D face plotting.
faces3d(x, ...) ## S4 method for signature 'trigrid' faces3d(x, ...) ## S4 method for signature 'hexagrid' faces3d(x, ...) ## S4 method for signature 'facelayer' faces3d(x, col = "heat", breaks = NULL, inclusive = TRUE, legend = TRUE, ...)
x |
|
... |
Further graphical parameters passed to (see |
col |
( |
breaks |
( |
inclusive |
( |
legend |
( |
The function is built on the openGL renderer of the R package rgl
.
The function does not return any value.
# create a hexagonal grid g <- hexagrid(c(2,2)) # plot the grid in 3d space # faces3d(g) h <- hexagrid(8) b <- facelayer(h) values(b)<- rnorm(length(b))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.