galactic_plane

gdt.core.plot.lib.galactic_plane(ax, flipped=True, frame='equatorial', zen=True, outer_color='dimgray', inner_color='black', line_alpha=0.5, center_alpha=0.75, **kwargs)[source]

Plot the galactic plane on the sky.

Parameters:
  • ax (matplotlib.axes) – Plot axes object

  • outer_color (str, optional) – The color of the outer line

  • inner_color (str, optional) – The color of the inner line

  • line_alpha (float, optional) – The alpha of the line

  • center_alpha (float, optional) – The alpha of the center

  • frame (str or SpacecraftFrame, optional) – If a string, then can either be ‘equatorial’ or ‘galactic’. Otherwise, it is the spacecraft frame definition. Defaults is ‘equatorial’.

  • flipped (bool, optional) – If True, the azimuthal axis is flipped, following the equatorial convention

  • zen (bool, optional) – Only used if the frame is a spacecraft frame. If set to true, plots the polar axis in zenith, False plots in elevation. Default is True.

  • **kwargs – Other plotting options

Returns:

(list of matplotlib.lines.Line2D and

matplotlib.collections.PathCollection)