rgl.texts {rgl}R Documentation

add text set shape

Description

Adds text to the scene. The text is positioned in 3D space. A bitmap font which is always oriented towards the camera is used.

Usage

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

Arguments

x, y, z point coordinates
text text character vector to draw
justify character string specifying the horizontal adjustment, 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 rgl version 0.64-13 Index]