Skip to content

Commit

Permalink
fix ensemble comparison plot size
Browse files Browse the repository at this point in the history
  • Loading branch information
MuellerSeb committed Nov 2, 2020
1 parent 5897242 commit fa7dd67
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 2 deletions.
Binary file modified results/eGRF_TPL_2D/0000_diff.pdf
Binary file not shown.
Binary file modified results/eGRF_TPL_2D/0001_diff.pdf
Binary file not shown.
Binary file modified results/eGRF_TPL_2D/0002_diff.pdf
Binary file not shown.
Binary file modified results/eGRF_TPL_2D/0003_diff.pdf
Binary file not shown.
Binary file modified results/eGRF_TPL_2D/0004_diff.pdf
Binary file not shown.
Binary file modified results/eGRF_TPL_2D/0005_diff.pdf
Binary file not shown.
Binary file modified results/eGRF_TPL_2D/0006_diff.pdf
Binary file not shown.
Binary file modified results/eGRF_TPL_2D/0007_diff.pdf
Binary file not shown.
Binary file modified results/eGRF_TPL_2D/diff.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions src/comparison/02_compare_mean.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def compare(base="eGRF_TPL_2D", p_min=0, p_max=np.inf):
def plot_diff(time, rad, rt_head, et_head, para_no, path, para):
"""Plot the comparisson between effective head and ensemble mean."""
plt.close("all")
fig = plt.figure(figsize=[9, 3])
fig = plt.figure(figsize=[10, 3.4])
ax0 = plt.subplot2grid((1, 3), (0, 0), fig=fig, projection=Axes3D.name)
ax1 = plt.subplot2grid((1, 3), (0, 2), fig=fig, projection=Axes3D.name)
ax2 = plt.subplot2grid((1, 3), (0, 1), fig=fig, projection=Axes3D.name)
Expand Down Expand Up @@ -168,7 +168,7 @@ def plot_diff(time, rad, rt_head, et_head, para_no, path, para):
ax1.set_zlim((z_min, z_max))
ax2.set_zlim((-1, 1))
fig.tight_layout()
plt.savefig(os.path.join(path, "{:04}_diff.pdf".format(para_no)))
plt.savefig(os.path.join(path, "{:04}_diff.pdf".format(para_no)), dpi=300)
plt.close("all")


Expand Down

0 comments on commit fa7dd67

Please sign in to comment.