decorate3d | R Documentation |
decorate3d
adds the usual decorations to a plot: labels, axes, etc.
decorate3d(xlim = NULL, ylim = NULL, zlim = NULL,
xlab = "x", ylab = "y", zlab = "z",
box = TRUE, axes = TRUE,
main = NULL, sub = NULL,
top = TRUE, aspect = FALSE, expand = 1.03,
tag = material3d("tag"), ...)
xlim , ylim , zlim |
These are used for the labels. |
xlab , ylab , zlab |
labels for the coordinates. |
box , axes |
whether to draw a box and axes. |
main , sub |
main title and subtitle. |
top |
whether to bring the window to the top when done. |
aspect |
either a logical indicating whether to adjust the aspect ratio, or a new ratio. |
expand |
how much to expand the box around the data, if it is drawn. |
tag |
optional label for objects being produced. |
... |
ignored. |
The RGL id values for those items.
open3d()
shade3d(tetrahedron3d(), col = "red")
decorate3d(main = "A Tetrahedron")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.