Set up the bounding box decoration.
bbox3d(xat = NULL, yat = NULL, zat = NULL, xunit = "pretty", yunit = "pretty", zunit = "pretty", expand = 1.03, draw_front = FALSE, xlab=NULL, ylab=NULL, zlab=NULL, xlen=5, ylen=5, zlen=5, marklen=15.0, marklen.rel=TRUE, ...)
vector specifying the tickmark positions
character vector specifying the tickmark labeling
value specifying the tick mark base for uniform tick mark layout
value specifying the number of tickmarks
value specifying the length of the tickmarks
logical, if TRUE tick mark length is calculated using 1/
marklen * axis length, otherwise tick mark length is
marklen in coordinate space
value specifying how much to expand the bounding box around the data
draw the front faces of the bounding box
Material properties (or other
in the case of
material3d for details.
Four different types of tick mark layouts are possible.
This description applies to the X axis; other axes are similar:
xat is not
NULL, the ticks are set up at custom positions.
xunit is numeric but not zero, it defines the tick mark base. If
"pretty" (the default in
bbox3d), ticks are set at
xlen is not zero, it specifies the number of ticks
(a suggestion if
The first color specifies the bounding box, while the second one specifies the tick mark and font color.
bbox3d defaults to
pretty locations for the axis labels and a slightly larger
rgl.bbox covers the exact range.
axes3d offers more flexibility in the specification of the axes, but
they are static, unlike those drawn by
This function is called for the side effect of setting the bounding box decoration.
A shape ID is returned to allow
pop3d to delete it.