rgl.sphtext | R Documentation |
Adds generic text to a spherical coordinate plot.
rgl.sphtext(long, lat, radius, text, deg = TRUE, col='black', ...)
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. |
This function uses sph2car in conjunction with text3d to plot text on a spherical coordinate system.
No value, used for plotting side effect.
Aaron Robotham
rgl.sphgrid
,rgl.sphcirc
,rgl.sphpoints
,rgl.sphsun
,rgl.sphMW
,pointsphere
,sph2car
,car2sph
rgl.sphgrid() rgl.sphtext(40,50,0.5,'HI!',deg=TRUE,col='red',cex=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.