From 339413501cfa53058f21d208768d26e3d0db73a6 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Fri, 4 Mar 2022 11:11:29 +0100 Subject: [PATCH] Switched to time spectrum --- swash/processing/post.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swash/processing/post.py b/swash/processing/post.py index 63c9935..2dbbf82 100644 --- a/swash/processing/post.py +++ b/swash/processing/post.py @@ -70,9 +70,9 @@ fig.tight_layout() fig_r, ax_r = plt.subplots() -ax_r.plot(phi_eta[0], R) +ax_r.plot(1/phi_eta[0], R) ax_r.autoscale(axis="x", tight=True) -ax_r.set(ylim=(0, 1), xlabel="f (Hz)", ylabel="R") +ax_r.set(ylim=(0, 1), xlabel="t (s)", ylabel="R") ax_r.grid() fig_x, ax_x = plt.subplots()