rgl.sphgrid {sphereplot} | R Documentation |
Creates a spherical plotting grid, within which further points can be added. Useful for astronomical plotting in particular, where this becomes the celestial sphere.
rgl.sphgrid(radius = 1, col.long='red', col.lat='blue', deggap = 15, longtype = "H",
add = FALSE, radaxis=TRUE, radlab='Radius')
radius |
The radial extent of the spherical grid. |
deggap |
The attempted separation between sherical grid lines in degrees. |
col.long |
The colour for longitude labels. |
col.lat |
The colour for latitude labels. |
longtype |
Specifies if longitudes should be labelled in hours (H- default) or degrees (D). |
add |
Should the grid be added to the current plot, or if FALSE a new rgl device is launched. |
radaxis |
Logical determining whether the sphere radius vector is drawn and labeled (default is TRUE). Pretty labeling is used to choose the location of ticks and labels. |
radlab |
If 'radaxis' is TRUE then the 'radlab' parameter determines the name of the label. |
This function should be called first, and can generally be used with only the declaration of radius to good effect.
No value, used for plotting side effect.
Aaron Robotham
rgl.sphgrid()