stam.plot.plot_track
- stam.plot.plot_track(bp_rp, mg, title=None, ax=None, c=None, label=None, **kwargs)[source]
Plot evolutionary track over the Gaia color-magnitude diagram (CMD).
- Parameters:
bp_rp (array_like) – Gaia Gbp-Grp color.
mg (array_like) – Gaia G-band absolute magnitude (same size as bp_rp).
title (str, optional) – Plot title (default: None).
ax (Axes object, optional) – Matplotlib Axes in which to plot (default: None).
c (str, optional) – Plot color (default: None).
label (str, optional) – Plot legend label (default: None).
**kwargs (optional) – Additional arguments to be passed to matplotlib.pyplot.plot.
- Returns:
ax – Matplotlib Axes.
- Return type:
Axes object, optional