aboutsummaryrefslogtreecommitdiffstats
path: root/astro/ps2d.py
diff options
context:
space:
mode:
Diffstat (limited to 'astro/ps2d.py')
-rwxr-xr-xastro/ps2d.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/astro/ps2d.py b/astro/ps2d.py
index 00bc0af..ac98734 100755
--- a/astro/ps2d.py
+++ b/astro/ps2d.py
@@ -289,8 +289,8 @@ class PS2D:
vmin, vmax = mappable.get_clim()
ax.set(xscale="log", yscale="log",
xlim=(x[1], x[-1]), ylim=(y[1], y[-1]),
- xlabel=r"k$_{\perp}$ [Mpc$^{-1}$]",
- ylabel=r"k$_{||}$ [Mpc$^{-1}$]",
+ xlabel=r"$k_{\perp}$ [Mpc$^{-1}$]",
+ ylabel=r"$k_{||}$ [Mpc$^{-1}$]",
title=title)
cb = ax.figure.colorbar(mappable, ax=ax, pad=0.01, aspect=30)
cb.ax.set_xlabel(r"[%s$^2$ Mpc$^3$]" % self.unit)
@@ -302,8 +302,8 @@ class PS2D:
mappable.set_clim(vmin, vmax)
ax_err.set(xscale="log", yscale="log",
xlim=(x[1], x[-1]), ylim=(y[1], y[-1]),
- xlabel=r"k$_{\perp}$ [Mpc$^{-1}$]",
- ylabel=r"k$_{||}$ [Mpc$^{-1}$]",
+ xlabel=r"$k_{\perp}$ [Mpc$^{-1}$]",
+ ylabel=r"$k_{||}$ [Mpc$^{-1}$]",
title=title_err)
cb = ax_err.figure.colorbar(mappable, ax=ax_err, pad=0.01, aspect=30)
cb.ax.set_xlabel(r"[%s$^2$ Mpc$^3$]" % self.unit)