GalacticPlane¶
- class gdt.core.plot.plot.GalacticPlane(ax, flipped=True, frame='equatorial', color=None, inner_color='black', outer_color='dimgray', alpha=None, line_alpha=0.5, center_alpha=0.75, **kwargs)[source]¶
Bases:
PlotElementPlot the Galactic Plane in equatorial, galactic, or spacecraft coordinates.
- Parameters:
ax (
matplotlib.axes) – The axis on which to plotflipped (bool, optional) – If True, the azimuthal axis is flipped, following equatorial convention
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’.inner_color (str, optional) – The color of the inner line element
outer_color (str, optional) – The color of the outer line element
line_alpha (float, optional) – The alpha opacity of the line elements of the Galactic Plane
center_alpha (float, optional) – The alpha opacity of the Galactic center
color (str, optional) – The color of the Galactic plane. Overrides
inner_colorandouter_color.alpha (float, optional) – The opacity of the Galactic plane. Overrides
line_alphaandcenter_alpha.**kwargs – Other plotting options
Attributes Summary
The alpha opacity value
The object references to the individual matplotlib elements
The alpha opacity of the Galactic plane
The color of the Galactic plane
The color of the inner line element
The alpha opacity of the line elements
The color of the outer line element
True if the element is shown on the plot, False otherwise
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
- Type:
(float)
- artists¶
The object references to the individual matplotlib elements
- Type:
(list)
- center_alpha¶
The alpha opacity of the Galactic plane
- Type:
(float)
- color¶
The color of the Galactic plane
- Type:
(str)
- inner_color¶
The color of the inner line element
- Type:
(str)
- line_alpha¶
The alpha opacity of the line elements
- Type:
(float)
- outer_color¶
The color of the outer line element
- Type:
(str)
- 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