killall
graph point size scale 1.5

read band "+band"
gr1 show in legend off
gr1 line color 0x00
#read band "+wanband"
#gr2 line color 0xff0000
#read band "+wanbandtb"
#gr3 line color 0xff00

read bandweight "+wanbweights"
with gr2
w"AB Oz Niyz" on
color 0xff00
w"B Niyz Oz" on
color 0xff
w"AB Nixz Oz" on
color 0xff0000

w"B Oz Nixz" on
color 0xff00ff

world y -6,2.5
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


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.5
  legend frame fill on
  legend frame fill color 0xffffff
  legend position 1.07835 , -0.111125
  legend origin 1 , 0

print to "wanbands.eps"
