three_panel¶
-
gala.dynamics.
three_panel
(q, relative_to=None, autolim=True, axes=None, triangle=False, subplots_kwargs={}, labels=None, **kwargs)[source]¶ Given 3D quantities,
q
, make a nice three-panel or triangle plot of projections of the values.Parameters: q : array_like
Array of values.
axis=0
is assumed to be the dimensionality,axis=1
is the time axis. See Array shapes for more information.relative_to : bool (optional)
Plot the values relative to this value or values.
autolim : bool (optional)
Automatically set the plot limits to be something sensible.
axes : array_like (optional)
Array of matplotlib Axes objects.
triangle : bool (optional)
Make a triangle plot instead of plotting all projections in a single row.
subplots_kwargs : dict (optional)
Dictionary of kwargs passed to
subplots()
.labels : iterable (optional)
List or iterable of axis labels as strings. They should correspond to the dimensions of the input orbit.
**kwargs
All other keyword arguments are passed to
scatter()
. You can pass in any of the usual style kwargs likecolor=...
,marker=...
, etc.Returns: fig :
Figure