def plot_tacc_Mstar_median(files, z, axs, snapnum, i, on): add = sims[i] Mstar, tacc, Type, Age, Z = get_vals(files, z, axs, snapnum, i, on) xx, yy, yy_up, yy_low = create_out.out_median(Mstar, tacc, Type, z) xx = np.log10(xx) yy = np.log10(yy) yy_up = np.log10(yy_up) yy_low = np.log10(yy_low) make_fig.fig_median(axs, z, xx, yy, yy_up, yy_low, i) xlim = [7.5, 11.7] ylim = [5, 10.5] xticks = [8, 9, 10, 11] yticks = [5, 6, 7, 8, 9, 10] axs.set_xlim(xlim) axs.set_ylim(ylim) axs.set_xticks(xticks) axs.set_yticks(yticks) return add
def plot_Mstar_DTM_median(files, z, axs, snapnum, i, on): add = sims[i] Mstar, Mratio, Type, Age, Mcg, Mmet = get_vals(files, z, axs, snapnum, i, on) xx, yy, yy_up, yy_low = create_out.out_median(Mstar, Mratio, Type, z) xx = np.log10(xx) yy = np.log10(yy) yy_up = np.log10(yy_up) yy_low = np.log10(yy_low) make_fig.fig_median(axs, z, xx, yy, yy_up, yy_low, i) return add
def plot_O_H_vs_DTM_median(files, z, axs, snapnum, i, on): add, met, Mratio, Type, Age = get_vals(files, z, axs, snapnum, i, on) xx, yy, yy_up, yy_low = create_out.out_median(met, Mratio, Type, z) xx = 12 + np.log10(xx) yy = np.log10(yy) yy_up = np.log10(yy_up) yy_low = np.log10(yy_low) make_fig.fig_median(axs, z, xx, yy, yy_up, yy_low) xlim = [7.5, 10.5] ylim = [-2.9, 0] xticks = [8, 9, 10] axs.set_xlim(xlim) axs.set_ylim(ylim) axs.set_xticks(xticks) return add
def plot_O_H_vs_Dust_median(files, z, axs, snapnum, i, on): add, met, Mdust, Type, Age = get_vals(files, z, axs, snapnum, i, on) xx, yy, yy_up, yy_low = create_out.out_median(met, Mdust, Type, z) xx = 12 + np.log10(xx) yy = np.log10(yy) yy_up = np.log10(yy_up) yy_low = np.log10(yy_low) make_fig.fig_median(axs, z, xx, yy, yy_up, yy_low, 1) xlim = [6, 10.5] ylim = [0.1, 6.2] xticks = [6, 7, 8, 9, 10] axs.set_xlim(xlim) axs.set_ylim(ylim) axs.set_xticks(xticks) return add
def plot_DGR_Mstar_median(files, z, axs, snapnum, i, on): add = sims[i] Mstar, Mratio, Type, Age = get_vals(files, z, axs, snapnum, i, on) xx, yy, yy_up, yy_low = create_out.out_median(Mstar, Mratio, Type, z) xx = np.log10(xx) yy = np.log10(yy) yy_up = np.log10(yy_up) yy_low = np.log10(yy_low) make_fig.fig_med(axs, z, xx, yy, yy_up, yy_low, i) xlim = [7.5, 12.7] ylim = [-7, -0.3] xticks = [8, 9, 10, 11, 12] axs.set_xlim(xlim) axs.set_ylim(ylim) axs.set_xticks(xticks) return add