rgl.bbox {rgl} | R Documentation |
Setup the bounding box decoration.
rgl.bbox( xat=NULL, xlab=NULL, xunit=0, xlen=5, yat=NULL, ylab=NULL, yunit=0, ylen=5, zat=NULL, zlab=NULL, zunit=0, zlen=5, marklen=15.0, marklen.rel=T, ...)
xat,yat,zat |
vector specifying the tickmark positions |
xlab,ylab,zlab |
character vector specifying the tickmark labeling |
xunit,yunit,zunit |
value specifying tick mark base for uniform tick mark layout |
xlen,ylen,zlen |
value specifying the number of tickmarks |
marklen |
value specifying the length of the tickmarks |
marklen.rel |
logical, if TRUE tick mark length is calculated using 1/marklen * axis length, otherwise tick mark length is marklen in coordinate space |
... |
Material properties. See rgl.material for details. |
Three different types of tick mark layout are possible. If at is not NULL, the ticks are setup at custom positions. If unit is not zero, it defines the tick mark base. If length is not zero, it specifies the number of ticks that are automatically specified. Primary color specifies the bounding box, while secondary color specifies the tick mark and font color.
rgl.bbox(color="#333377", emission="#333377",specular="#3333FF", shinines=5,alpha=0.8)