kill all


read akbl "slabifyres/+bpb_sf.spin1"
with g1.gr1.s1

interpolationdepth 1
min cutoff  1
null cutoff  0.
max cutoff 1
colormap name "terrain"
min color 0x0
#null color 0xff
#max color 0xff5500
zpower 1

show in legend off

col=0xffffff
with g1.gr1
y major tic line color col
y minor tic line color col

itic1 tic side none
itic2 line color col
itic3 line color col
itic4 line color col
itic5 tic side none

with g1
itic1 line color col

# legend box
legend on
  legend font size 12
  legend font subscriptscale 0.75
  legend font color 0xffffff
  legend line spacing 0.2
  legend symbol marker spacing 0.5
  legend symbol marker width 1
  legend frame off
  legend frame rim style solid
  legend frame rim width 1
  legend frame rim color 0x0
  legend frame border spacing 0.8
  legend frame fill on
  legend frame fill color 0xffffff
  legend position 0.98 , 0.02
  legend origin 1 , 0


read band "../3d/GHNG/+band_sf"
g1.gr2 irregular tics off
#g1.gr2 line color 0xbbbb00
g1.gr2 line color 0xff00ff
on
line width 1
legend "bulk bands"

autoscale
#world x 0,2.91421
world y -13,5


title "Fe bulk projected bands"

arrange( 450, 1,0.221,0.0776,0.1, 1,0.124,0.1,0.1, 0.9032,1,1,1)


print to "bpbedc.png" dpi 75
