Skip to content

Commit

Permalink
Add axis limit to plotting script
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinswales committed May 30, 2024
1 parent a8d26a9 commit 85e305a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/plot_scm_out.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 85e305a

Please sign in to comment.