From 73fbd6e8d0b58a74203acbfdea95d74827c814d5 Mon Sep 17 00:00:00 2001
From: Tamas Gal <tgal@km3net.de>
Date: Tue, 15 Jan 2019 14:04:34 +0100
Subject: [PATCH] Fix plot labels in ztplot. Closes #2

---
 scripts/ztplot.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/ztplot.py b/scripts/ztplot.py
index f3aab3c..32c756c 100755
--- a/scripts/ztplot.py
+++ b/scripts/ztplot.py
@@ -135,9 +135,9 @@ class ZTPlot(Module):
                 label.set_rotation(45)
 
             if idx % n_cols == 0:
-                ax.set_ylabel('time [ns]', fontsize=fontsize)
+                ax.set_ylabel('z [m]', fontsize=fontsize)
             if idx >= len(axes) - n_cols:
-                ax.set_xlabel('z [m]', fontsize=fontsize)
+                ax.set_xlabel('time [ns]', fontsize=fontsize)
 
         plt.suptitle(
             "FrameIndex {0}, TriggerCounter {1}\n{2} UTC".format(
-- 
GitLab