From 255532ced21a9cddebc358abb694fd61ac662a1e Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Fri, 4 Mar 2022 11:18:13 +0100 Subject: [PATCH] Added reflection plot period limits --- swash/processing/post.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/swash/processing/post.py b/swash/processing/post.py index 34e6318..512950c 100644 --- a/swash/processing/post.py +++ b/swash/processing/post.py @@ -71,8 +71,7 @@ fig.tight_layout() fig_r, ax_r = plt.subplots() ax_r.plot(1 / phi_eta[0, 1:], R[1:]) -ax_r.autoscale(axis="x", tight=True) -ax_r.set(ylim=(0, 1), xlabel="t (s)", ylabel="R") +ax_r.set(xlim=(1,30), ylim=(0, 1), xlabel="t (s)", ylabel="R") ax_r.grid() fig_x, ax_x = plt.subplots()