Path: Orbit/Visualization
% Plot the state in 3D with an planet map.
Note that the location relative to the map is only accurate for Planet-fixed
frame input. Enter time and Julian date to compute the Planet-fixed positions
from ECI data automatically. Can enter multiple satellites using a cell array.
The start point is a green dot, the end is a red dot.
Type PlotPlanetaryOrbit for a demo of 2 satellites around Venus. This is
similar to PlotPlanetOrbit but does not create time labels along the
trajectory.
--------------------------------------------------------------------------
Form:
h = PlotPlanetaryOrbit( rPF, p )
h = PlotPlanetaryOrbit( rECI, p, t, jD0 )
--------------------------------------------------------------------------
------
Inputs
------
r (3,m) Position vectors (km)
or
{n} Cell array of position matrices for multiple satellites
p (1,:) Planet name, default Earth
t (1,:) Time array (sec)
jD0 (1,1) Epoch Julian date
------
Output
------
h (1,1) Figure handle
l (1,n) Handle to orbit lines
--------------------------------------------------------------------------
See also: PlotOrbit, ECIToPlanet
--------------------------------------------------------------------------
Orbit: OrbitSim/RVFromKepler SC: Ephem/ECIToPlanet SC: Visualization/PlotPlanet Common: General/Watermark Common: Graphics/AssignColors Common: Graphics/NewFig Common: Graphics/TitleS Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Time/JD2000
Back to the Orbit Module page