Skip to content
Snippets Groups Projects

Update figure comparing Debye and Einstein models. Added experimental data for silver.

Merged Joana Fraxanet Morales requested to merge plot_Einstein_Debye into master
+ 1
1
@@ -120,7 +120,7 @@ def c_debye(T, T_D):
fig, ax = pyplot.subplots()
ax.scatter(T, c)
ax.set_title('Heat capacity of silver compared to the Debye and Einstein models')
#ax.set_title('Heat capacity of silver compared to the Debye and Einstein models')
ax.plot(T, c_einstein(T, 151), label='Einstein model')
ax.plot(T, c_debye(T, 215), label='Debye model')
ax.set_ylim(bottom=0, top=26)
@@ -128,7+128,7 @@
ax.set_xlabel('T(K)')
ax.set_ylabel(r'C(J/mol-K)')
ax.set_xticks([0, 100, 200])
ax.set_yticks([24.945])
ax.set_yticklabels(['$3R$'])
ax.legend(loc='lower right')
pyplot.hlines([24.945], 0, T[-1], linestyles='dashed')
Loading