ini3D | R Documentation |
Initialize the RGL window.
ini3D(new = TRUE, clear = FALSE, ...)
new |
A new window is opened (otherwise the current is cleared). |
clear |
Clear the current RGL window. |
... |
Further arguments passed on the the RGL plotting functions. This must be done as lists. Currently the following arguments are supported:
|
NULL (invisible).
ini3D()
pts<-matrix(c(1,1,1,5,5,5), ncol = 3, byrow = TRUE)
plotPoints3D(pts)
finalize3D()
lim <- c(-1, 7)
ini3D(argsPlot3d = list(xlim = lim, ylim = lim, zlim = lim))
plotPoints3D(pts)
finalize3D()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.