killall

read bandweight "+bweights" 
gr1.w1 off
w "Cu(002)3d+2" on
color 0xff00ff
gr1 line style none

gr2.w1 off
w "Cu(002)3d+2" on
color 0xaaaa00
gr2 line style none

#read band "+band"
read band "+wanband"
read band "+wanbandtb"



g1.gr3 line color 0xff0000
line width 2
g1.gr4 line color 0xff0000
line width 2

g1.gr5 line color 0xaa00
line width 2
g1.gr6 line color 0xaa00
line width 2

#gr2 off
#gr4 off
#gr6 off

world y -5 ,5

title on
  title "CaCuO$_2$."
  title font size 30
  title font subscriptscale 0.75
  title font color 0x0
  title frame off
  title frame rim style solid
  title frame rim width 1
  title frame rim color 0xffffff
  title frame fill on
  title frame fill color 0xffffff
  title frame border spacing 0.2
  title coordinate system View
  title position 0.5 , 0
  title angle 0
  title origin 0.5 , 1
  title restriction -Y 0
  title restriction additional 1 2 9 10


print to "wanbands.png"
