diff --git a/plotter.py b/plotter.py index 88608a3..773f5a1 100644 --- a/plotter.py +++ b/plotter.py @@ -77,15 +77,14 @@ class Plotter(Aggregator, BaseProcessor): "dens0": "$n_0$", "coldens0": "$\Sigma_0$", "sfr_avg_window": "window", - "comp_frac": "$\\zeta$", - "bx_bound": "$B_x$", + "bx_bound": "$B_0$", } # Conversion table from namelist values (from amses config file) into LaTex strings value_convert = { "sfr_avg_window": lambda x: "${:g}$ Myr".format(80 * x), - "comp_frac": lambda x: "${:g}$".format(1 - x), - "bx_bound": lambda x: "${:g}$".format(5.267 * 10 ** (-10) * x), + #'comp_frac' : lambda x: "${:g}$".format(1 - x), + "bx_bound": lambda x: "${:g}$ $\mu G$".format(5.267501272979475 * x), } def __init__( @@ -1003,7 +1002,7 @@ class Plotter(Aggregator, BaseProcessor): self, partial(self._plot_map, "coldens", label=r"$\Sigma$", unit=cst.coldens), "Column density map", - dependencies=["coldens"], + dependencies=["coldens", "speed_h", "speed_v"], ), "rho": PlotRule( self, @@ -1279,7 +1278,11 @@ class Plotter(Aggregator, BaseProcessor): "mwa_B_int": PlotRule( self, partial( - self._plot, "/series/time", "/series/time_mwa_B_int", xunit=cst.Myr + self._plot, + "/series/time", + "/series/time_mwa_B_int", + xunit=cst.Myr, + yunit=cst.T, ), "Magnetic intensity average", kind="series",