Sun

class gdt.core.plot.plot.Sun(x, y, ax, flipped=True, frame='equatorial', alpha=1.0, **kwargs)[source]

Bases: PlotElement

Plot the sun on the sky in equatorial, galactic, or spacecraft coordinates

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

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

  • ax (matplotlib.axes) – The axis on which to plot

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

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

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

  • **kwargs – Other plotting options

Attributes Summary

alpha

The alpha opacity value, between 0 and 1.

artists

The object references to the individual matplotlib elements

color

The color of the plot element

size

The size of the plot point

visible

True if the element is shown on the plot, False otherwise

zorder

The plot element zorder

Methods Summary

hide()

Hide the plot element

remove()

Remove the plot element

show()

Show the plot element

toggle()

Toggle the visibility of the plot element

Attributes Documentation

alpha

The alpha opacity value, between 0 and 1.

Type:

(float)

artists

The object references to the individual matplotlib elements

Type:

(list)

color

The color of the plot element

Type:

(str)

size

The size of the plot point

Type:

(float)

visible

True if the element is shown on the plot, False otherwise

Type:

(bool)

zorder

The plot element zorder

Type:

(int)

Methods Documentation

hide()

Hide the plot element

remove()

Remove the plot element

show()

Show the plot element

toggle()

Toggle the visibility of the plot element