ssapy_toolkit.Plots.groundtrack_plot
- ssapy_toolkit.Plots.groundtrack_plot(r, t, ground_stations=None, save_path=None, title='Ground Track', show_legend=True, fontsize=18, start_end_markers=True, labels=None, orbit_colors=None, linestyles=None, legend_kwargs=None, central_longitude=0.0, relabel_xticks=True)[source]
Plot one or more orbit ground tracks on an Earth map.
- Parameters:
r ((n,3) array_like or list of (n,3)) – GCRF positions [m]. Either a single orbit or a list of orbits.
t ((n,) array_like or list of (n,)) – Absolute times matching r.
ground_stations ((k,2) array_like, optional) – Rows of (lat_deg, lon_deg).
save_path (str, optional) – Save figure path.
title (str, optional) – Plot title.
show_legend (bool, default True) – Show legend.
fontsize (int, default 18) – Base font size.
start_end_markers (bool, default True) – Mark orbit start/end points.
orbit_colors (list, optional) – Per-orbit colors.
linestyles (list, optional) – Per-orbit line styles.
legend_kwargs (dict, optional) – Extra legend kwargs.
central_longitude (float, default 0.0) –
Center longitude of the displayed map. Examples:
0 -> Greenwich-centered 180 -> Pacific-centered
relabel_xticks (bool, default True) – If True, relabel x ticks into conventional [-180, 180) longitude values.
- Returns:
fig
- Return type:
matplotlib.figure.Figure