killall

graph point size scale 1.5

read bandweight "+bweights"
with g1.gr1

w1 off
w"Ni(001)3d-1" on
color 0xff
name "Ni 3d$_yz$."
w"Ni(001)3d+1" on
color 0xff0000
name "Ni 3d$_xz$."
w"O (002)2p+0" on
color  0xff00
name "Ni 2p$_z$."



weight style connected

world y -6,2.5
# legend box
legend on
  legend font size 13
  legend font subscriptscale 0.75
  legend font color 0x0
  legend line spacing -0.1
  legend symbol marker spacing 0.1
  legend symbol marker width 1
  legend frame on
  legend frame rim style solid
  legend frame rim width 1
  legend frame rim color 0x0
  legend frame border spacing 0.3
  legend frame fill on
  legend frame fill color 0xffffff
  legend position 1.07835 , -0.111125
  legend origin 1 , 0


title on
  title "NiO$_2$. straight chain"
  title font size 20
  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 "fplofatbands.eps"