Text3d: Add text to a 3D plot

View source: R/Text3d.R

Text3dR Documentation

Add text to a 3D plot

Description

Add text to a 3D plot (in development)

Usage

Text3d(obj, ..., col = "blue")

## Default S3 method:
Text3d(..., col = "blue")

Arguments

obj
...

See details.

col

Text color.

Details

Text3d allows arguments to be vectors or matrices whose corresponding axes as specified with names of the form 'x', 'xy', 'yxz', etc. The text argument is called 'texts'. Other key arguments are adj and justify

Value

None

Author(s)

Georges Monette

See Also

Lines3d, args3d, rgl.texts

Examples

##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function( obj, ...) {
    # Note that this is the 'same' as Lines3d
    "
    Text3d allows arguments to be vectors or matrices whose corresponding
    axes as specified with names of the form 'x', 'xy', 'yxz', etc.
    The text argument is called 'texts'. Other key arguments are adj and
    justify
    "
    UseMethod("Text3d")
  }

gmonette/p3d documentation built on Nov. 16, 2023, 11:31 p.m.