Path: Orbit/Visualization
% Plot a planet-fixed orbit track in 2D or 3D.
Converts the input inertial positions to planet-fixed using ECIToPlanet.
Has a built-in demo showing a Mars orbit in both 3D and 2D.
--------------------------------------------------------------------------
Form:
OrbTrack( r, jD, gType, planet, hFig )
--------------------------------------------------------------------------
------
Inputs
------
r (3,:) ECI position vectors (km) or
(1,6) elements
jD (:) Julian dates
gType (1,:) '2d' or '3d' Default is '3d'
planet (1,:) Any planet in the database
hFig (1,:) Figure handle
-------
Outputs
-------
none
--------------------------------------------------------------------------
See also ECIToPlanet, Map, PlotPlanet, JD2Array, RVOrbGen
--------------------------------------------------------------------------
AerospaceUtils: Coord/R2LatLon Orbit: OrbitMechanics/Period Orbit: OrbitSim/RVOrbGen SC: Ephem/ECIToPlanet SC: Visualization/PlotPlanet Common: Database/Constant Common: General/Watermark Common: Graphics/Map Common: Graphics/NewFig Common: Graphics/TitleS Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Time/JD2000 Common: Time/JD2Array
Back to the Orbit Module page