Path: CubeSat/Visualization
% Plot the orbital state in 3D with an Earth map. 
 Note that the location relative to the map is only accurate for
 Earth-fixed frame input. Enter time and Julian date to compute the
 Earth-fixed positions from ECI data automatically.
--------------------------------------------------------------------------
   Form:
   [h, l] = PlotOrbit( rEF )
   [h, l] = PlotOrbit( rECI, t, jD0 )
--------------------------------------------------------------------------
   ------
   Inputs
   ------
   r         (3,m)  Position vectors (km)
           or
              {n}   Cell array of position matrices for multiple satellites
   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: LoadEarthMap
--------------------------------------------------------------------------
AerospaceUtils: Coord/ECIToEF AerospaceUtils: Coord/LLAToECEF Orbit: OrbitMechanics/Period SC: Ephem/SunV1 SC: Ephem/TerminatorLine SC: Visualization/LoadEarthMap Common: Graphics/AssignColors Common: Time/Date2JD Common: Time/JD2T
Back to the CubeSat Module page