image thumbnail

Ground Track (ground_track)

version 4.0.2 (91.4 MB) by Tamas Kis
Plots the ground track of an orbit given its planetodetic coordinates (i.e. planetodetic latitude and longitude).

121 Downloads

Updated 28 Aug 2021

From GitHub

View license on GitHub

ground_track View Ground Track (ground_track) on File Exchange

Plots the ground track of an orbit given its planetodetic coordinates (i.e. planetodetic latitude and longitude).

Syntax

ground_track(lat,lon)
ground_track(lat,lon,opts)
ground_track(__,planet)

Description

ground_track(lat,lon) plots the ground track of an orbit around the Earth, superimposed on a map of the Earth, where the map just shows the coastlines. lat and lon are vectors of geodetic latitude and longitude values (in degrees). By default, the ground track is drawn in blue with a line width of 1.5.

ground_track(lat,lon,opts) does the same as the syntax above, but allows for the specification of optional plotting parameters. opts is a struct that has the following fields:

  • color → specifies line color
  • line_width → specifies line width
  • line_style → specifies line style

ground_track(__,planet) draws the ground track of an orbit around the celestial body specified by planet. planet can be specified as 'Blank' (plots ground track over blank background), 'Sun', 'Moon', 'Mercury', 'Venus', 'Earth', Earth Cloudy, 'Earth Coastlines', 'Earth Night', 'Earth Night Cloudy', 'Mars', 'Jupiter', 'Saturn', 'Uranus', 'Neptune', or 'Pluto'. Note that if you are specifying planet, but choosing not to specify the optional parameters (opts), use the syntax ground_track(lat,lon,[],planet).

NOTE: All fields of opts do NOT have to be defined; when a field is left undefined, the rest of the plot settings are set to default values.

Examples and Image Sources

  • See "EXAMPLES.mlx" or the "Examples" tab on the File Exchange page for examples.
  • See "Ground_Track_Image_Sources.pdf" (also included with download) for the image sources.

Cite As

Tamas Kis (2021). Ground Track (ground_track) (https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v4.0.2), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.