ssapy_toolkit.plots.transfer_trajectory_plot
- ssapy_toolkit.plots.transfer_trajectory_plot(result, ax=None, three_d=False, show_orbits=True, show_earth=True, annotate_burns=True, title=None, save_path=None)[source]
Plot a transfer trajectory with burn locations and strengths.
- Parameters:
result (TransferResult or OptimalTransferResult) – A propagated transfer (
propagate=True).ax (matplotlib axes, optional) – Draw onto existing axes (e.g. a gallery panel); otherwise a new figure is created. Must be a 3-D axes when
three_d=True.three_d (bool) – Render in 3-D (useful for plane-change transfers).
show_orbits (bool) – Toggle the orbit rings, the Earth disk (2-D only), and the per-burn strength annotations.
show_earth (bool) – Toggle the orbit rings, the Earth disk (2-D only), and the per-burn strength annotations.
annotate_burns (bool) – Toggle the orbit rings, the Earth disk (2-D only), and the per-burn strength annotations.
title (str, optional) – Axes title; a default with total delta-v and arrival error is used when omitted.
save_path (str, optional) – If given, save the figure via
ssapy_toolkit.plots.yufigand close it; otherwise the axes are returned for further styling.
- Return type:
matplotlib axes (when
save_pathis None)