plotRectangle3D | R Documentation |
The rectangle is defined by x|a <= x <= b where a is the minimum values and b is the maximum values.
plotRectangle3D(a, b, ...)
a |
A vector of length 3. |
b |
A vector of length 3. |
... |
Further arguments passed on the the RGL plotting functions. This must be done as lists (see examples). Currently the following arguments are supported:
|
Object ids (invisible).
ini3D()
plotRectangle3D(c(0,0,0), c(1,1,1))
plotRectangle3D(c(1,1,1), c(4,4,3), drawPoints = TRUE, drawLines = FALSE,
argsPlot3d = list(size=2, type="s", alpha=0.3))
ids <- plotRectangle3D(c(2,2,2), c(3,3,2.5), argsPolygon3d = list(alpha = 1) )
finalize3D()
# pop3d(id = ids) remove last object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.