Text3d: Add text to a 3D plot

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/Text3d.R

Description

Add text to a 3D plot (in development)

Usage

1
2
3
4
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
##---- 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")
  }

p3d documentation built on May 2, 2019, 5:25 p.m.