earth_line

gdt.core.plot.lib.earth_line(lat, lon, proj, color='C0', alpha=0.4, **kwargs)[source]

Plot a line on the Earth (e.g. orbit).

Parameters:
  • lat (np.array) – Array of latitudes

  • lon (np.array) – Array of longitudes

  • proj (GeoAxesSubplot) – The Cartopy projection

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

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

  • kwargs (optional) – Other plotting keywords

Returns:

(list of matplotlib.lines.Line2D)