powered by
Orbit.location
Calculate location of a planet Orbit.location
Orbit.location(t, p.orb, a = 1, theta = 0, orig = c(0, 0), ab = 1)
Time (day).
Period of the orbit.
Radius or Semi-major of the orbit.
angle in PCS.
Reference orgin.
Semi-major over semi-minor. ab=1 for a Ring.
(x,y) in Cartesian Coordinate System.
# NOT RUN { tday = seq(0, 365, 30) x=Orbit.location(t=tday, p.orb = 365, a=10) plot(PCS2CCS(0:360, a=10), type='l') plotplanet(orig=x, rad = .51) grid() # }
Run the code above in your browser using DataLab