aboutsummaryrefslogtreecommitdiffstats
path: root/astro/eor_window.py
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-12-06 20:47:49 +0800
committerAaron LI <aly@aaronly.me>2017-12-06 20:47:49 +0800
commitaf1d770136ba1c0fbfd57992570804446d247deb (patch)
treeefdbfec431620e9441d1c29dc9fb86a0c51f81f0 /astro/eor_window.py
parent9e44e4096c6e8dfe041eeb25a844e74adf223a50 (diff)
downloadatoolbox-af1d770136ba1c0fbfd57992570804446d247deb.tar.bz2
Adjust plot axis label style a bit
Diffstat (limited to 'astro/eor_window.py')
-rwxr-xr-xastro/eor_window.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/astro/eor_window.py b/astro/eor_window.py
index 71f4cc2..4ea180e 100755
--- a/astro/eor_window.py
+++ b/astro/eor_window.py
@@ -291,8 +291,8 @@ class PS2D:
#
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("[%s]" % self.unit)