rgl.sphpoints {sphereplot} | R Documentation |
Add points to spherical plots
Description
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.
Usage
rgl.sphpoints(long, lat, radius, 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. |
deg |
Specifies if input is in degrees (default) or radians. |
col |
Specifies point colour. |
... |
Other arguments carried to points3d. |
Details
This function uses sph2car in conjunction with points3d to plot points 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.sphtext
,rgl.sphsun
,rgl.sphMW
,pointsphere
,sph2car
,car2sph
Examples
rgl.sphgrid()
rgl.sphpoints(40,50,0.5,deg=TRUE,col='red',cex=2)
[Package sphereplot version 1.5.1 Index]