SkyPoints¶
- class gdt.core.plot.plot.SkyPoints(x, y, ax, flipped=True, frame='equatorial', color='C0', alpha=1.0, **kwargs)[source]¶
Bases:
PlotElementPlot a set of points on the sky in equatorial, galactic, or spacecraft coordinates.
- Parameters:
x (float or np.array) – The azimuthal coordinate, in degrees
y (float or np.array) – The polar coordinate, in degrees
ax (
matplotlib.axes) – The axis on which to plotflipped (bool, optional) – If True, the azimuthal axis is flipped, following equatorial convention
frame (str, optional) – Either ‘equatorial’, ‘galactic’, ‘spacecraft’. Default is ‘equatorial’
color (str, optional) – The color of the points
alpha (float, optional) – The alpha opacity of the points
**kwargs – Other plotting options
Attributes Summary
The alpha opacity value, between 0 and 1.
The object references to the individual matplotlib elements
The color of the plot element
The number of points plotted
The size of each plot point
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, 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)
- num_points¶
The number of points plotted
- Type:
(int)
- sizes¶
The size of each plot point
- Type:
(list)
- 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