Description Usage Arguments Author(s) See Also Examples
Adding text to a three dimensional plot previously created by
plot3d()
or persp()
.
1 2 3 |
x |
the coordinates of text in the plot. Alternatively, a single plotting structure, function or any R object with a plot method can be provided. |
y |
the y coordinates of text in the plot, optional if
|
z |
the z coordinates of text in the plot, optional if
|
labels |
the labels to be printed in the plot. |
persp.matrix |
an 4-by-4 transformation matrix describing how
to project the (x,y,z) text to the drawing canvas as the one
returned by |
. Default value is
getOption("persp.matrix")
, which is set by plot3d()
.
cex |
the character expansion of the data text.
Default value is |
col |
the color of the data text.
Default value is |
font |
the font to be used. For more information see
|
... |
further arguments accepted by |
Henrik Bengtsson
For creating a 3D plot see plot3d
().
For adding lines to a 3D plot see lines3d
().
For adding points to a 3D plot see points3d
().
For adding text to a 3D plot see text3d
().
For adding polygons to a 3D plot see polygon3d
().
For adding stems to a 3D plot see stem3d
().
See also persp
.
Package scatterplot3d
by Uwe Ligges.
For detail about the graphical parameter arguments,
see par
.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.