ass1: Describe T_c vs \rho_{300K} and Pearson's r

This commit is contained in:
2022-02-17 18:23:05 +01:00
parent 52dd113618
commit 1cb8623412
2 changed files with 34 additions and 6 deletions

View File

@ -54,8 +54,8 @@ from matplotlib import pyplot as plt
fig, ax = plt.subplots(figsize=(10, 5))
#df.plot('rho_300', 'T_c', kind='scatter', ax=ax, loglog=True)
df.plot('rho_300', 'T_c', kind='scatter', ax=ax)
ax.set_xlabel('$\\rho_{300K}$')
ax.set_ylabel('$T_c$')
ax.set_xlabel('$\\rho_{300K} (n \Omega m)$')
ax.set_ylabel('$T_c (K)$')
for k, v in df.iterrows():
#ax.annotate(v['element'], (v['rho_300']*.95, v['T_c']*1.05))