stam.plot.plot_combined_isomasses
- stam.plot.plot_combined_isomasses(tracks, mass=array([0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1., 1.1]), mass_res=0.007, ax=None, is_colorline=True, c='k', plot_pre_ms=True, print_mass=True, mass_label_x_offset=-0.1, mass_label_y_offset=0.25, **kwargs)[source]
- plot_combined_isomasses(tracks, mass=np.arange(0.1, 1.2, 0.1), mass_res=0.007, ax=None,
is_colorline=True, c=’k’, print_mass=True, plot_pre_ms=True, **kwargs)
Plot evolutionary track over the Gaia color-magnitude diagram (CMD).
- Parameters:
tracks (Table) – Stellar evolution tracks, generated using stam.gentracks.get_combined_isomasses (a Table with columns mass, bp_rp, mg, and mh).
mass (array_like, optional) – Stellar track mass array, in Msun (default: np.arange(0.1, 1.2, 0.1) Msun).
mass_res (float, optional) – Mass resolution, in Msun (default: 0.007 Msun).
ax (Axes object, optional) – Matplotlib Axes in which to plot (default: None).
is_colorline (bool, optional) – Plot tracks in gradient colors by mass and metallicity? (default: True)
c (str, optional) – Tracks plot color, if is_colorline=False (default: ‘k’).
plot_pre_ms (bool, optional) – Plot the pre-main-sequence part of the tracks? (default: True)
print_mass (bool, optional) – Print mass label next to tracks? (default: True).
mass_label_x_offset (float, optional) – Mass label x-axis offset (default: -0.1).
mass_label_y_offset (float, optional) – Mass label y-axis offset (default: 0.25).
**kwargs (optional) – Additional arguments to be passed to matplotlib.pyplot.plot.
- Returns:
ax – Matplotlib Axes.
- Return type:
Axes object, optional