3D plots of dotprops objects using rgl package
A dotprops object
Factor by which to scale unit vectors (numeric, default: 1.0)
Restrict plotting to points with alpha
values in
this range to plot (default: null => all points). See
dotprops
for definition of alpha
.
Character or numeric vector specifying colours for points/vectors. See details.
Whether to plot points and/or tangent vectors (logical, default: tangent vectors only)
Whether to scale tangent vector length by the value of
alpha
Additional arguments passed to points3d
and/or
segments3d
Whether to display gridlines when using plotly as the backend plotting
engine (default: FALSE
)
the plotting backend engine to use either 'rgl' or 'plotly'.
invisible list of results of rgl plotting commands
Tangent vectors are plotted by segments3d
and centred on the
relevant point. Points are plotted by points3d
.
color
will be recycled by points3d
and segments3d
.
However in the special case that color
has length equal to the
number of points in x
, then it will be duplicated before being
passed to segments3d
so that the result is that each vector is
coloured uniformly according to color
(since segments3d expects 2
colours for each line segment, blending them if they are different).