rgl_add_axes: Add 3d axes

Description Usage Details Examples

Description

rgl_add_axes add 3d axes device.

Usage

1
2
3
rgl_add_axes(x, y, z, axis.col = "grey", xlab = "", ylab = "",
  zlab = "", show.plane = TRUE, show.ticks = TRUE,
  show.bbox = FALSE, bbox.col = c(lpha("#333377", 0.4), "black"))

Details

stolen from http://www.sthda.com/english/wiki/a-complete-guide-to-3d-visualization-device-system-in-r-r-software-and-data-visualization

Examples

1
2
3
4
rgl_init(bg = rgb(.3,.3,.3), aspect = aspect)
rgl_add_axes(data$x, data$y, data$z,
            show.bbox = FALSE,
            show.plane = FALSE)

k-hench/kh3d documentation built on July 8, 2019, 3:33 a.m.