View source: R/rgl.sphpoints.R
rgl.sphpoints | R Documentation |
This function allows the native plotting of spherical coordinates (in degrees of radians) and is expected to be used in conjunction with rgl.sphgrid, which produces the spherical grid.
rgl.sphpoints(long, lat, radius, 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. |
deg |
Specifies if input is in degrees (default) or radians. |
col |
Specifies point colour. |
... |
Other arguments carried to points3d. |
This function uses sph2car in conjunction with points3d to plot points on a spherical coordinate system.
No value, used for plotting side effect.
Aaron Robotham
rgl.sphgrid
,rgl.sphcirc
,rgl.sphpoints
,rgl.sphtext
,rgl.sphsun
,rgl.sphMW
,pointsphere
,sph2car
,car2sph
rgl.sphgrid() rgl.sphpoints(40,50,0.5,deg=TRUE,col='red',cex=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.