Skip to content
Snippets Groups Projects

Solutions lecture 7

Merged Lars kleyn Winkel requested to merge solutions-lecture-7 into master
Compare and Show latest version
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -66,8 +66,8 @@ pyplot.plot(k[199:100:-1],-(t1+t2)*np.cos(k[0:99]/2),'r--',label='1 atom dispers
pyplot.plot(k[299:200:-1],-(t1+t2)*np.cos(k[300:399]/2),'r--')
pyplot.xlabel('$ka$'); pyplot.ylabel(r'$E-\epsilon$')
pyplot.xticks([-2*pi, -pi, 0, pi,2*pi], [r'$-2ka$',r'$-ka$', 0, r'$ka$',r'$2ka$'])
pyplot.yticks([-t1-t2, 0, t1+t2], [r'$-t_1-t_2$', '$E_0$', r'$t_1+t_2$']);
pyplot.xticks([-2*pi, -pi, 0, pi,2*pi], [r'$-2\pi',r'$-\pi$', 0, r'$\pi$',r'$2\pi$'])
pyplot.yticks([-t1-t2, 0, t1+t2], [r'$-t_1-t_2$', 0, r'$t_1+t_2$']);
pyplot.vlines([-pi, pi], -3, 3, linestyles='dashed');
pyplot.legend(loc='lower center');
Loading