rgl.sphtext {sphereplot} | R Documentation |
Add text to spherical plot
Description
Adds generic text to a spherical coordinate plot.
Usage
rgl.sphtext(long, lat, radius, text, deg = TRUE, col='black', ...)
Arguments
long |
longitude values, can also contain a matrix of long, lat and radius (in that order). |
lat |
latitude values. |
radius |
radius values. |
text |
text values to be plotted. |
deg |
Specifies if input is in degrees (default) or radians. |
col |
Specifies text colour. |
... |
Other arguments carried to points3d. |
Details
This function uses sph2car in conjunction with text3d to plot text on a spherical coordinate system.
Value
No value, used for plotting side effect.
Author(s)
Aaron Robotham
See Also
rgl.sphgrid
,rgl.sphcirc
,rgl.sphpoints
,rgl.sphsun
,rgl.sphMW
,pointsphere
,sph2car
,car2sph
Examples
rgl.sphgrid()
rgl.sphtext(40,50,0.5,'HI!',deg=TRUE,col='red',cex=2)
[Package sphereplot version 1.5.1 Index]