| rgl.sphsun | R Documentation |
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.
rgl.sphsun(Ydate = c(3, 21), radius = 1, col = "yellow", type = "s", sunrad = 0.02, addeclip = TRUE, addsun=TRUE)
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. |
No value, used for plotting side effect.
Aaron Robotham
rgl.sphgrid,rgl.sphcirc,rgl.sphpoints,rgl.sphtext,rgl.sphMW,pointsphere,sph2car,car2sph
rgl.sphgrid()
rgl.sphsun()
rgl.sphgrid()
rgl.sphsun('get',radius=2,col='red')
open3d()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.