Skip to content

Commit 6f34126

Browse files
author
Daniel Ruprecht
committed
fix label in generated figure to amplification factor
1 parent f08bf88 commit 6f34126

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/plot_ieuler_dispersion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@
7272
plt.xlim([k_vec[0], k_vec[-1]])
7373
plt.ylim([0.0, 1.1])
7474
plt.xlabel('Wave number', fontsize=fs, labelpad=0.25)
75-
plt.ylabel('Phase speed', fontsize=fs, labelpad=0.5)
75+
plt.ylabel('Amplification factor', fontsize=fs, labelpad=0.5)
7676
fig.gca().tick_params(axis='both', labelsize=fs)
7777
plt.legend(loc='lower left', fontsize=fs, prop={'size':fs-2})
7878
plt.xticks([0, 1, 2, 3], fontsize=fs)
7979
filename = 'ieuler-dispersion-ampf.pdf'
8080
plt.gcf().savefig(filename, bbox_inches='tight')
81-
call(["pdfcrop", filename, filename])
81+
call(["pdfcrop", filename, filename])

0 commit comments

Comments
 (0)