animated_hist_comp_test
- tulips.tulips.animated_hist_comp_test(m1, m2, fig=None, ax=None, raxis='log_R', label1='', label2='', time_index1=0, time_index2=0, hrd_inset=True)[source]
Plot two models together.
Plot two MESA models at the same time as half-circles with radius r over the same evolutionary time.
- Parameters
- label2 :
- label1 :
- time_index2 :
- m1mesaPlot object
Already loaded a history file.
- m2second mesaPlot object
Already loaded a history file.
- figFigure object
If set, plot on existing figure.
- axAxes object
If set, plot on provided axis.
- raxis: str
Valid column name for a MESA history file. This sets the outer radius of the star.
- time_label_loctuple
Location of the time label on the plot as fraction of the maximal size.
- time_indexint
Contains time index of moment to plot.
- hrd_insetboolean
If set, add an inset HRD that indicates the current time index to each plot.
- Returns
- fig, ax