sky_line

gdt.core.plot.lib.sky_line(x, y, ax, flipped=True, frame='equatorial', closed=False, **kwargs)[source]

Plot a line on a sky map, wrapping at the meridian.

Parameters:
  • x (float) – The azimuthal coordinates, in degrees

  • y (float) – The polar coordinates, in degrees

  • ax (matplotlib.axes) – Plot axes object

  • closed (bool, optional) – True if line represents a closed polygon. Default is False.

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

  • frame (str, optional) – Either ‘equatorial’, ‘galactic’, or ‘spacecraft’. Default is ‘equatorial’

  • **kwargs – Other plotting options

Returns:

(list of matplotlib.collections.PathCollection)