rgl.texts {rgl}R Documentation

add text set shape

Description

Adds a set of text to scene, the text is positioned in 3D space. A bitmap font is used, so that it is always oriented towards the camera.

Usage

rgl.texts(x, y, z, text, justify, ...)

Arguments

x, y, z point coordinates
text text character vector to draw
justify a character string specifying the horizontal text layout, can be one of "left", "right", "center".
... Material properties. See rgl.material for details.

Details

See Also

rgl.material

Examples

rgl.texts(rnorm(10)*100,rnorm(10)*100,rnorm(10)*100,text=1:10,justify="center", color=heat.colors(10))

[Package Contents]