18results = loadtxt(
'bands6.out', unpack=
True)
20plot(results[0], sqrt(results[1]**2 + results[2]**2),
'k--')
23 reference = loadtxt(
'bands.dat', unpack=
True)
27 plot(reference[0], reference[3],
'.', color=
'0.7')
29plot(results[0], results[3],
'.', color=
'maroon')
31xticks([0., pi*sqr32, pi*(sqr32+0.5), pi*(sqr32+1.5)], [
'$\\Gamma$',
'M',
'K',
'$\\Gamma$'])
32xlim(0., pi*(sqr32+1.5))