Ground Track (ground_track)

Version 5.2.0 (168 MB) by Tamas Kis
Plots the ground track of an orbit given its planetodetic coordinates (i.e. planetodetic latitude and longitude).
1.3K Downloads
Updated 6 Jul 2022

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
  • LineWidth → specifies line width
  • LineStyle → 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.





Installation

  • Open "Ground Track (ground_track).mltbx" in the "INSTALL" folder to install as a toolbox. MATLAB will automatically perform the installation and add the function and all the images to the MATLAB search path.
  • Alternatively, the "ground_track" folder can be copy and pasted into the folder containing the script that you want to use the function in. At the beginning of the script, include "addpath('ground_track')" to add the function and all the images to the MATLAB search path.

Cite As

Tamas Kis (2024). Ground Track (ground_track) (https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v5.2.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021b
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!

ground_track

Version Published Release Notes
5.2.0

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v5.2.0

5.1.1

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v5.1.1

5.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v5.1.0

5.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/5.0.1

5.0.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v5.0.0

4.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v4.0.2

4.0.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v4.0.1

4.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v4.0.0

3.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v3.0.2

3.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v3.0.1

3.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v3.0.0

2.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v2.0.2

2.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v2.0.1

2.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v2.0.0

1.0.6

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v1.0.6

1.0.5

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v1.0.5

1.0.4

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v1.0.4

1.0.3

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v1.0.3

1.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v1.0.2

1.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/ground_track-MATLAB/releases/tag/v1.0.1

1.0.0

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.