rgl.sphsun {sphereplot} | R Documentation |
Plot ecliptic + Sun
Description
This function overplots the ecliptic plane on the default Equatorial coordinates, and optionally will add the Sun either for a desired date, or for today.
Usage
rgl.sphsun(Ydate = c(3, 21), radius = 1, col = "yellow", type = "s", sunrad = 0.02,
addeclip = TRUE, addsun=TRUE)
Arguments
Ydate |
The date for the location of the Sun on the spherical grid. Vector in c(M,D) format. If set to 'get' then the function will return the Sun's location for today. |
radius |
The radius at which to draw the ecliptic plane and Sun. |
col |
The colour of the ecliptic line and for the Sun. |
type |
Rgl plot type for the Sun, default is to draw it as a 3D sphere, i.e. type 's'. |
sunrad |
The radius of the Sun if plotted as a sphere. |
addeclip |
Should the ecliptic plane be drawn. |
addsun |
Should the location of the Sun be plotted. |
Value
No value, used for plotting side effect.
Author(s)
Aaron Robotham
See Also
rgl.sphgrid
,rgl.sphcirc
,rgl.sphpoints
,rgl.sphtext
,rgl.sphMW
,pointsphere
,sph2car
,car2sph
Examples
rgl.sphgrid()
rgl.sphsun()
rgl.sphgrid()
rgl.sphsun('get',radius=2,col='red')
open3d()