kill all

pw=1600
ph=800
paper size pw,ph

x0=0.1
y0=0.166
h=0.7
w=h*ph/pw

g1 view  x0,y0,w,h
title "E$_F$.=0"
g2 on
g2 view  x0+0.5,y0,w,h
title "E$_F$.=-3"


read xny "slabifyres/+cuts_kz=00.00.spin1" into g1
g=g1.gr1
with gr1
legend "kz=0.0"
line color 0x00
use attributes on
line width 3


read xny "slabifyres/+cuts_kz=00.10.spin1"
g=g+1
legend "kz=0.1"
line color 0xff0000
use attributes on
line width 3

read xny "slabifyres/+cuts_kz=00.20.spin1"
g=g+1
legend "kz=0.2"
line color 0xaa00
use attributes on
line width 3


read xny "slabifyres/+cuts_kz=00.25.spin1"
g=g+1
legend "kz=0.25"
line color 0xff
use attributes on
line width 3


read xny "slabifyres/+cuts_kz=00.30.spin1"
g=g+1
legend "kz=0.3"
line color 0xaaaa
use attributes on
line width 3

read xny "slabifyres/+cuts_kz=00.40.spin1"
g=g+1
legend "kz=0.4"
line color 0xff00ff
use attributes on
line width 3

read xny "slabifyres/+cuts_kz=00.50.spin1"
g=g+1
legend "kz=0.5"
line color 0xaaaaaa
use attributes on
line width 3





autoscale
#world y -1,1







with g2
read xny "slabifyres/+cuts_kz=00.00_ef=-3.00.spin1" 
g=gr1
with g2.gr1
legend "kz=0.0"
line color 0x00
use attributes on
line width 3


read xny "slabifyres/+cuts_kz=00.10_ef=-3.00.spin1"
g=g+1
legend "kz=0.1"
line color 0xff0000
use attributes on
line width 3

read xny "slabifyres/+cuts_kz=00.20_ef=-3.00.spin1"
g=g+1
legend "kz=0.2"
line color 0xaa00
use attributes on
line width 3


read xny "slabifyres/+cuts_kz=00.25_ef=-3.00.spin1"
g=g+1
legend "kz=0.25"
line color 0xff
use attributes on
line width 3


read xny "slabifyres/+cuts_kz=00.30_ef=-3.00.spin1"
g=g+1
legend "kz=0.3"
line color 0xaaaa
use attributes on
line width 3

read xny "slabifyres/+cuts_kz=00.40_ef=-3.00.spin1"
g=g+1
legend "kz=0.4"
line color 0xff00ff
use attributes on
line width 3

read xny "slabifyres/+cuts_kz=00.50_ef=-3.00.spin1"
g=g+1
legend "kz=0.5"
line color 0xaaaaaa
use attributes on
line width 3





autoscale
#world y -1,1


print to "cuts.png"
