xsize=15.6
ysize=13
size xsize ysize

begin texpreamble
    \usepackage{lmodern}
    \usepackage{textcomp}
    \newcommand{\murm}{\hbox{\textmu}}
end texpreamble

pt=0.0352777778 ! 1 postscript point

set font texcmr
set hei 10*pt

tt=4*pt
lw=0.5*pt
set lwidth lw
set just cc

! graph settings
xmn=0
xmx=6
ymn=0
ymx=85

xgraphsize=9.5
ygraphsize=17
glw=2*lw

offset=0
waterfalloffset=53
alloffset=14

amove -0.8 -1.5
begin graph
 size xgraphsize ygraphsize
 nobox
 
 
 
 xtitle "\tex{$t$ (\murm s)}"
 xaxis min xmn max xmx dticks 5 dsubticks 1
 xaxis format "fix 0 prepend \tex{$ append $}" ! makes axis labels TeX. dec is just padding, because for some reason it doesn't work if prepend or append is first
 xticks length tt
 
 ytitle "\tex{$A(t)$ (\%)}"
 yaxis min ymn max ymx dticks 5 dsubticks 1
 yticks length tt
 ylabels off
 
data BF4-waterfall/5114.wim d90=c1,c2 d91=c1,c3
let d90=d90-waterfalloffset

 data SbF6-waterfall/13026.wim d1=c1,c2 d2=c1,c3
 data SbF6-waterfall/13027.wim d3=c1,c2 d4=c1,c3
 data SbF6-waterfall/13028.wim d5=c1,c2 d6=c1,c3
 data SbF6-waterfall/13029.wim d7=c1,c2 d8=c1,c3
 data SbF6-waterfall/13030.wim d9=c1,c2 d10=c1,c3
 data SbF6-waterfall/13031.wim d11=c1,c2 d12=c1,c3
 data SbF6-waterfall/13032.wim d13=c1,c2 d14=c1,c3
 data SbF6-waterfall/13033.wim d15=c1,c2 d16=c1,c3
 data SbF6-waterfall/13034.wim d17=c1,c2 d18=c1,c3
 data SbF6-waterfall/13035.wim d19=c1,c2 d20=c1,c3
 data SbF6-waterfall/13036.wim d21=c1,c2 d22=c1,c3
 data SbF6-waterfall/13037.wim d23=c1,c2 d24=c1,c3

 let d1= d1+0*waterfalloffset-alloffset
 let d3= d3+0.0850090525511209*waterfalloffset-alloffset
 let d5= d5+0.170450894682007*waterfalloffset-alloffset
 let d7= d7+0.236934923288154*waterfalloffset-alloffset
 let d9= d9+0.332586138637644*waterfalloffset-alloffset
 let d11= d11+0.410651256097765*waterfalloffset-alloffset
 let d13= d13+0.492147807292397*waterfalloffset-alloffset
 let d15= d15+0.576217933787912*waterfalloffset-alloffset
 let d17= d17+0.661574847933869*waterfalloffset-alloffset
 let d19= d19+0.856274398030014*waterfalloffset-alloffset
 let d21= d21+0.917216661154926*waterfalloffset-alloffset
 let d23= d23+1*waterfalloffset-alloffset

 d1 err d2 errwidth 0.001 lwidth lw color rgb(0.25,0.65,1)
 d3 err d4 errwidth 0.001 lwidth lw color rgb(0.313756789413341,0.594744115841771,0.914990947448879)
 d5 err d6 errwidth 0.001 lwidth lw color rgb(0.377838171011505,0.539206918456696,0.829549105317993)
 d7 err d8 errwidth 0.001 lwidth lw color rgb(0.427701192466116,0.4959922998627,0.763065076711846)
 d9 err d10 errwidth 0.001 lwidth lw color rgb(0.499439603978233,0.433819009885532,0.667413861362356)
 d11 err d12 errwidth 0.001 lwidth lw color rgb(0.557988442073324,0.383076683536453,0.589348743902235)
 d13 err d14 errwidth 0.001 lwidth lw color rgb(0.619110855469298,0.330103925259942,0.507852192707603)
 d15 err d16 errwidth 0.001 lwidth lw color rgb(0.682163450340934,0.275458343037857,0.423782066212088)
 d17 err d18 errwidth 0.001 lwidth lw color rgb(0.746181135950402,0.219976348842985,0.338425152066131)
 d19 err d20 errwidth 0.001 lwidth lw color rgb(0.89220579852251,0.093421641280491,0.143725601969986)
 d21 err d22 errwidth 0.001 lwidth lw color rgb(0.937912495866195,0.053809170249298,0.0827833388450738)
 d23 err d24 errwidth 0.001 lwidth lw color rgb(1,0,0)
end graph

!begin graph
! size xgraphsize ygraphsize
! nobox
! xaxis min xmn max xmx
! xaxis off
! yaxis min ymn max ymx
! yaxis off
! data BF4-waterfall/5120.tab d1=c1,c2
 ! rgb(0.564706,0.878431,0.313726) is fluorine colour
! d1 lstyle 1 color rgb(0.564706,0.878431,0.313726) lwidth glw
!end graph

amove 6.6 -1
! this graph has been rotated by using the y-axis as the x and vice-versa
begin graph
 size 5 15.4
 
 xtitle "\tex{$r_{\mathrm{F-\murm }}$ (nm)}"
 xaxis min 0.1 max 0.135 dticks 0.01
 xaxis format "fix 1 prepend \tex{$ append $}"
 xlabels dist 0.43
 xplaces 0.1 0.12
 xnames "\tex{$0.1$}" "\tex{$0.12$}"

 yaxis min 0 max 320
 ylabels off 
 
 data SbF6-waterfall/try1.dat d1=d9,d4 d2=d4,d10
 d1 herr d2

 let d80=200 from 0 to 1
 let d81=320 from 0 to 1
 fill d80,d81 color rgb(0.8,0.8,1)
end graph

amove 10.2 -1
! this graph has been rotated by using the y-axis as the x and vice-versa
begin graph
 size 5 15.4
 
 xtitle "\tex{$\lambda$ (MHz)}"
 xaxis min 0 max 1 dticks 0.5
 xaxis format "fix 1 prepend \tex{$ append $}"
 xlabels dist 0.43

 y2title "\tex{$T$ (K)}" rotate
 yaxis min 0 max 320
 yaxis format "fix 0 prepend \tex{$ append $}" ! makes axis labels TeX. dec is just padding, because for some reason it doesn't work if prepend or append is first
 ylabels off
 y2labels on
 
 data SbF6-waterfall/try1.dat d1=d11,d4 d2=d4,d12
 d1 herr d2 color rgb(0.564706,0.878431,0.313726)
 !data SbF6-waterfall/try1-justexp.dat d3=d9,d4 d4=d4,d10
 !d3 herr d4 color rgb(0,0,1)
 
 let d80=200 from 0 to 1
 let d81=320 from 0 to 1
 fill d80,d81 color rgb(0.8,0.8,1)
end graph

!set justify br
!amove 14.4 12.5
!text \tex{[Cu(HF$_2$)(pyz)$_2$]BF$_4$}

!set justify bl
!set color rgb(0.564706,0.878431,0.313726)
!amove 11.2 2.4
!text \tex{$\lambda _{\mathrm{F-\murm}}$}

!set color rgb(0,0,1)
!amove 12.3 5.3
!text \tex{$\lambda _0$}