Learn R Programming

gMOIP (version 1.5.3)

finalize3D: Finalize the RGL window.

Description

Finalize the RGL window.

Usage

finalize3D(...)

Value

The RGL object (using rgl::highlevel()).

Arguments

...

Further arguments passed on the the RGL plotting functions. This must be done as lists. Currently the following arguments are supported:

  • argsAxes3d: A list of arguments for rgl::axes3d.

  • argsTitle3d: A list of arguments for rgl::title3d.

Examples

Run this code
# \donttest{
ini3D()
pts<-matrix(c(1,1,1,5,5,5), ncol = 3, byrow = TRUE)
plotPoints3D(pts)
finalize3D()

ini3D()
pts<-matrix(c(1,1,1,5,5,5), ncol = 3, byrow = TRUE)
plotPoints3D(pts)
finalize3D(argsAxes3d = list(edges = "bbox"))
# }

Run the code above in your browser using DataLab