diff --git a/plot_pres_4panel.py b/plot_pres_4panel.py index a9ec120..eb8225f 100644 --- a/plot_pres_4panel.py +++ b/plot_pres_4panel.py @@ -5,8 +5,8 @@ yt.enable_parallelism() import numpy as np import matplotlib.pyplot as plt -from matplotlib.colors import LogNorm, SymLogNorm -from matplotlib.ticker import FixedLocator, NullFormatter, NullLocator +from matplotlib.colors import LogNorm +from matplotlib.ticker import FixedLocator, MultipleLocator from mpl_toolkits.axes_grid1 import ImageGrid from mpl_toolkits.axes_grid1.anchored_artists import AnchoredSizeBar @@ -50,6 +50,10 @@ grid.axes_llc.tick_params(labelleft=False, labelbottom=False) for ax in grid: ax.tick_params(which='both', axis='both', direction='in') + ax.xaxis.set_major_locator(MultipleLocator(10)) + ax.xaxis.set_minor_locator(MultipleLocator(5)) + ax.yaxis.set_major_locator(MultipleLocator(10)) + ax.yaxis.set_minor_locator(MultipleLocator(5)) d_norm = LogNorm(1e-32, 1e-24) t_norm = LogNorm(1e3, 1e8)