Learn R Programming

rgl (version 0.111.6)

rgl.bringtotop: Assign focus to an RGL window

Description

'rgl.bringtotop' brings the current RGL window to the front of the window stack (and gives it focus).

Usage

rgl.bringtotop(stay = FALSE)

Arguments

stay

whether to make the window stay on top.

Author

Ming Chen/Duncan Murdoch

Details

If stay is TRUE, then the window will stay on top of normal windows.

See Also

Examples

Run this code
rgl.open()
rgl.points(rnorm(1000), rnorm(1000), rnorm(1000), color = heat.colors(1000))
rgl.bringtotop(stay = TRUE)    

Run the code above in your browser using DataLab