killall()
g=G[1]

ret=g.read('akbl', 'slabifyres/+bpb_sf.spin1')
s=ret[0].sets[0]

s.interpolationdepth=0
s.z0=0.005
s.databackgroundcolor=0x00
s.colormap='terrain'
s.showinlegend=0

col=0xffffff
#with g1.gr1
g.ytics.major.line.color=col
g.ytics.minor.line.color=col

for t in g.Gr[1].usertics:
    t.line.color=col
gr=ret[0].group
gr.usertics[0].ticside='none'
gr.usertics[-1].ticside='none'
g.usertics[-1].line.color=col

g.legend.frame.off()
g.legend.position=(0.659247,0.774064)



g.world.x=(0,s.x[-1])
g.world.y=(s.y[0],s.y[-1])



g.title.text='Fe bulk projected bands'


arrange(paperwidth=450,Nx=1,leftgap=0.220822,rightgap=0.077606,
    hgap=0.1,Ny=1,topgap=0.12376,bottomgap=0.1,vgap=0.1,
    aspectratio=0.903177, commonxaxis=True,commonyaxis=True,
    commontitle=True)

printto('bpbedc.png',dpi=75)
