From 85e305a81eb731225c004305d02f62baaed23a21 Mon Sep 17 00:00:00 2001 From: Dustin Swales Date: Thu, 30 May 2024 19:34:04 +0000 Subject: [PATCH] Add axis limit to plotting script --- test/plot_scm_out.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/plot_scm_out.py b/test/plot_scm_out.py index 025259163..d8474071e 100755 --- a/test/plot_scm_out.py +++ b/test/plot_scm_out.py @@ -157,6 +157,7 @@ def plot_results(file_bl, file_rt=None, vars2plt=None): if file_rt is not None: plt.subplot(3,1,1) plt.contourf(x1, y1, z1, 20, cmap='YlGnBu') plt.ylim(1000,200) + plt.xlim(0,np.max(x1)) plt.ylabel('(Pa)') plt.xlabel('(hours)') cbr = plt.colorbar()