xsize=15.7
ysize=18.5
size xsize ysize

begin texpreamble
    % set fonts used for text and maths to Palatino
    \usepackage{mathpazo}
    \renewcommand{\familydefault}{ppl}
    \usepackage{upgreek}
    \usepackage[load=abbr]{siunitx}
    \usepackage{bm}
end texpreamble

pt=0.0352777778 ! 1 postscript point

set font texcmr
set hei 11*pt
set texscale scale

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

! graph settings
Tmn=0 ! temperature
Tmx=5
Tticks=1
Tsubticks=0.5
numn=0 !frequency
numx=5
nuticks=1
nusubticks=0.5
timn=0 !for A(t) graphs, time should be consistent
timx=3
titicks=1
tisubticks=0.5

xgraphsize=5
ygraphsize=5
xbiggraphsize=7

xoffset=-0.7
yoffset=3.5

ystart=0.2

ticklength=0.1

!waterfalloffset=2

glw=2*lw
Aterrw=0.001
errw=glw*2
ms=3.5*pt ! marker size

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!PF6
amove 0.2 4*yoffset+ystart
begin graph
    size xbiggraphsize ygraphsize
    
    data PF6/PF6-At-data.txt d1=c1,c2 d2=c1,c3
    let d1=d1-11
    
    !xtitle "\tex{$t$ (\si{\us})}"
    xaxis min timn max timx dticks titicks dsubticks tisubticks
    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 ticklength
    xlabels off
    
    ytitle "\tex{$A(t)$ (\%)}"
    yaxis min 29-11 max 38-11 dticks 5 dsubticks 1
    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
    yticks length ticklength
    !ylabels off
    
    d1 err d2 errwidth Aterrw lwidth lw color rgb(0,0.1,0.25)
end graph

begin key
 pos tr nobox
 text "\tex{(a)}"
end key

begin key
 pos tl nobox
 text "\tex{[Cu(HF$_2$)(pyz)$_2$]PF$_6$}"
end key

begin graph
    size xbiggraphsize ygraphsize
    
    data PF6/PF6-At-curve.txt d1=c1,c2
    let d1=d1-11
    
    xaxis min timn max timx
    xaxis off
    
    yaxis min 29-11 max 38-11
    yaxis off
    
    d1 line lwidth glw color rgb(0.25,0.65,1)
end graph


rmove xbiggraphsize+xoffset 0
begin graph
    size xgraphsize ygraphsize
    
    data PF6/PF6-xT-data.txt d1=c1,c5 d2=c1,c6
    let d4 = 3.89*(1-(x/4.31)^1.5)^0.26 from 0 to 4.31 step 0.01
    let d3 = d4*0.572
    
    !xtitle "\tex{$T$ (K)}"
    xaxis min Tmn max Tmx dticks Tticks dsubticks Tsubticks
    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 ticklength
    xlabels off
    !xsubticks off
    
    ytitle "\tex{$\nu$ (MHz)}"
    yaxis min numn max numx dticks nuticks dsubticks nusubticks nolast
    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
    yticks length ticklength
    !ysubticks off
    
    d1 marker fcircle err d2 msize ms errwidth 0.05 lwidth 0.01
    d3 lstyle 5 lwidth glw color rgb255(255,13,13)
    d4 line lwidth glw color rgb255(48,80,248)
end graph

begin key
 pos tr nobox
 text "\tex{(b)}"
end key

rmove xgraphsize+xoffset+10*pt 0
begin graph
    size xgraphsize ygraphsize
    
    data PF6/PF6-xT-data.txt d1=c1,c3 d2=c1,c4 d3=c1,c8 d4=c1,c9 !d5=c1,c11 d6=c1,c12

    !xtitle "\tex{$T$ (K)}"
    xaxis min Tmn max Tmx dticks Tticks dsubticks Tsubticks
    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 ticklength
    xlabels off
    !xsubticks off
    
    ytitle "\tex{$\lambda$ (MHz)}"
    yaxis min numn max numx dticks nuticks dsubticks nusubticks nolast
    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
    yticks length ticklength
    !ysubticks off
    
    d3 marker wcircle err d2 msize ms color rgb255(255,13,13) errwidth erw lwidth lw
    d1 marker fcircle err d4 msize ms color rgb255(48,80,248) errwidth erw lwidth lw
    !d5 marker ftriangle err d6 msize ms color rgb255(144,224,80) errwidth erw lwidth lw
end graph

begin key
 pos tr nobox
 text "\tex{(c)}"
end key


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!AsF6
amove 0.2 3*yoffset+ystart
begin graph
    size xbiggraphsize ygraphsize
    
    data AsF6/AsF6-At-data.txt d1=c1,c2 d2=c1,c3
    
    !xtitle "\tex{$t$ (\si{\us})}"
    xaxis min timn max timx dticks titicks dsubticks tisubticks
    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 ticklength
    xlabels off
    
    ytitle "\tex{$A(t)$ (\%)}"
    yaxis min 9 max 23 dticks 5 dsubticks 1
    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
    yticks length ticklength
    !ylabels off
    
    d1 err d2 errwidth Aterrw lwidth lw color rgb(0,0.1,0.25)
end graph

begin key
 pos tr nobox
 text "\tex{(d)}"
end key

begin key
 pos tl nobox
 text "\tex{[Cu(HF$_2$)(pyz)$_2$]AsF$_6$}"
end key

begin graph
    size xbiggraphsize ygraphsize
    
    data AsF6/AsF6-At-curve.txt d1=c1,c2
    
    xaxis min timn max timx
    xaxis off
    
    yaxis min 9 max 23
    yaxis off
    
    d1 line lwidth glw color rgb(0.25,0.65,1)
end graph

rmove xbiggraphsize+xoffset 0
begin graph
    size xgraphsize ygraphsize
    
    data AsF6/AsF6-xT-data.txt d1=c1,c5 d2=c1,c6
    let d4 = 3.49*(1-(x/4.33)^1.6)^0.233 from 0 to 4.33 step 0.01
    let d3 = d4*0.617
    
    !xtitle "\tex{$T$ (K)}"
    xaxis min Tmn max Tmx dticks Tticks dsubticks Tsubticks
    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 ticklength
    xlabels off
    !xsubticks off
    
    ytitle "\tex{$\nu$ (MHz)}"
    yaxis min numn max numx dticks nuticks dsubticks nusubticks nolast
    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
    yticks length ticklength
    !ysubticks off
    
    d1 marker fcircle err d2 msize ms errwidth 0.05 lwidth 0.01
    d3 lstyle 5 lwidth glw color rgb255(255,13,13)
    d4 line lwidth glw color rgb255(48,80,248)
end graph

begin key
 pos tr nobox
 text "\tex{(e)}"
end key

rmove xgraphsize+xoffset+10*pt 0
begin graph
    size xgraphsize ygraphsize
    
    data AsF6/AsF6-xT-data.txt d1=c1,c3 d2=c1,c4 d3=c1,c7 d4=c1,c8 !d5=c1,c11 d6=c1,c12

    !xtitle "\tex{$T$ (K)}"
    xaxis min Tmn max Tmx dticks Tticks dsubticks Tsubticks
    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 ticklength
    xlabels off
    !xsubticks off
    
    ytitle "\tex{$\lambda$ (MHz)}"
    yaxis min numn max numx dticks nuticks dsubticks nusubticks nolast
    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
    yticks length ticklength
    !ysubticks off
    
    d3 marker wcircle err d2 msize ms color rgb255(255,13,13) errwidth erw lwidth lw
    d1 marker fcircle err d4 msize ms color rgb255(48,80,248) errwidth erw lwidth lw
    !d5 marker ftriangle err d6 msize ms color rgb255(144,224,80) errwidth erw lwidth lw
end graph

begin key
 pos tr nobox
 text "\tex{(f)}"
end key


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!SbF6
amove 0.2 2*yoffset+ystart
begin graph
    size xbiggraphsize ygraphsize
    
    data SbF6/SbF6-At-data.txt d1=c1,c2 d2=c1,c3
    
    !xtitle "\tex{$t$ (\si{\us})}"
    xaxis min timn max timx dticks titicks dsubticks tisubticks
    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 ticklength
    xlabels off
    
    ytitle "\tex{$A(t)$ (\%)}"
    yaxis min 21.8 max 25.2 dticks 1 dsubticks 0.5
    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
    yticks length ticklength
    ysubticks off
    !ylabels off
    
    d1 err d2 errwidth Aterrw lwidth lw color rgb(0,0.1,0.25)
end graph

begin key
 pos tr nobox
 text "\tex{(g)}"
end key

begin key
 pos tl nobox
 text "\tex{[Cu(HF$_2$)(pyz)$_2$]SbF$_6$}"
end key

begin graph
    size xbiggraphsize ygraphsize
    
    data SbF6/SbF6-At-curve.txt d1=c1,c2
    
    xaxis min timn max timx
    xaxis off
    
    yaxis min 21.8 max 25.2
    yaxis off
    
    d1 line lwidth glw color rgb(0.25,0.65,1)
end graph


rmove xbiggraphsize+xoffset 0
begin graph
    size xgraphsize ygraphsize
    
    data SbF6/SbF6-xT-data.txt d1=c1,c3 d2=c1,c4
    let d1=d1*1.642
    let d2=d2*1.642
    let d3 = 2.144*(1-(x/4.31)^(2.8))^(0.34) from 0 to 4.31
    let d4 = d3*1.642
        
    !xtitle "\tex{$T$ (K)}"
    xaxis min Tmn max Tmx dticks Tticks dsubticks Tsubticks
    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 ticklength
    xlabels off
    !xsubticks off
    
    ytitle "\tex{$\nu$ (MHz)}"
    yaxis min numn max numx dticks nuticks dsubticks nusubticks nolast
    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
    yticks length ticklength
    !ysubticks off
    
    d1 marker fcircle err d2 msize ms errwidth 0.05 lwidth 0.01
    d3 lstyle 5 lwidth glw color rgb255(255,13,13)
    d4 line lwidth glw color rgb255(48,80,248)
end graph

begin key
 pos tr nobox
 text "\tex{(h)}"
end key

rmove xgraphsize+xoffset+10*pt 0
begin graph
    size xgraphsize ygraphsize
    
    data SbF6/SbF6-xT-data.txt d1=c1,c5 d2=c1,c6 d3=c1,c7 d4=c1,c8 !d5=c1,c11 d6=c1,c12

    !xtitle "\tex{$T$ (K)}"
    xaxis min Tmn max Tmx dticks Tticks dsubticks Tsubticks
    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 ticklength
    xlabels off
    !xsubticks off
    
    ytitle "\tex{$\lambda$ (MHz)}"
    yaxis min numn max numx dticks nuticks dsubticks nusubticks nolast
    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
    yticks length ticklength
    !ysubticks off
    
    d1 marker wcircle err d2 msize ms color rgb255(255,13,13) errwidth erw lwidth lw
    d3 marker fcircle err d4 msize ms color rgb255(48,80,248) errwidth erw lwidth lw
    !d5 marker ftriangle err d6 msize ms color rgb255(144,224,80) errwidth erw lwidth lw
end graph

begin key
 pos tr nobox
 text "\tex{(i)}"
end key

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!NbF6
amove 0.2 yoffset+ystart
begin graph
    size xbiggraphsize ygraphsize
    
    data NbF6/1458.dat d1=c1,c2 d2=c1,c3
    let d1=d1+8
    
    !xtitle "\tex{$t$ (\si{\us})}"
    xaxis min timn max timx dticks titicks dsubticks tisubticks
    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 ticklength
    xlabels off
    
    ytitle "\tex{$A(t)$ (\%)}"
    yaxis min 15 max 21 dticks 1 dsubticks 0.5 nolast nofirst
    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
    yticks length ticklength
    ysubticks off
    !ylabels off
    
    d1 err d2 errwidth Aterrw lwidth lw color rgb(0,0.1,0.25)
end graph

begin key
 pos tr nobox
 text "\tex{(j)}"
end key

begin key
 pos tl nobox
 text "\tex{[Cu(HF$_2$)(pyz)$_2$]NbF$_6$}"
end key

begin graph
    size xbiggraphsize ygraphsize
    
    data NbF6/1458.tab d1=c1,c2
    let d1=d1+8
    
    xaxis min timn max timx
    xaxis off
    
    yaxis min 15 max 21
    yaxis off
    
    d1 line lwidth glw color rgb(0.25,0.65,1)
end graph


rmove xbiggraphsize+xoffset 0
begin graph
    size xgraphsize ygraphsize
    
    data NbF6/model3.dat d1=c1,c3 d2=c1,c4
    let d4 = 3.33*(1-(x/4.28)^(2))^(0.33) from 0 to 4.28
    let d3 = d4*0.7096
    
    !xtitle "\tex{$T$ (K)}"
    xaxis min Tmn max Tmx dticks Tticks dsubticks Tsubticks
    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 ticklength
    xlabels off
    !xsubticks off
    
    ytitle "\tex{$\nu$ (MHz)}"
    yaxis min numn max numx dticks nuticks dsubticks nusubticks nolast
    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
    yticks length ticklength
    !ysubticks off
    
    d1 marker fcircle err d2 msize ms errwidth 0.05 lwidth 0.01
    d3 lstyle 5 lwidth glw color rgb255(255,13,13)
    d4 line lwidth glw color rgb255(48,80,248)
end graph

begin key
 pos tr nobox
 text "\tex{(k)}"
end key


rmove xgraphsize+xoffset+10*pt 0
begin graph
    size xgraphsize ygraphsize
    
    data NbF6/model3.dat d1=c1,c5 d2=c1,c6 d3=c1,c7 d4=c1,c8 !d5=c1,c9 d6=c1,c10

    !xtitle "\tex{$T$ (K)}"
    xaxis min Tmn max Tmx dticks Tticks dsubticks Tsubticks
    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 ticklength
    xlabels off
    !xsubticks off
    
    ytitle "\tex{$\lambda$ (MHz)}"
    yaxis min numn max numx dticks nuticks dsubticks nusubticks nolast
    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
    yticks length ticklength
    !ysubticks off
    
    d3 marker wcircle err d2 msize ms color rgb255(255,13,13) errwidth erw lwidth lw
    d1 marker fcircle err d4 msize ms color rgb255(48,80,248) errwidth erw lwidth lw
    !d5 marker ftriangle err d6 msize ms color rgb255(144,224,80) errwidth erw lwidth lw
end graph

begin key
 pos tr nobox
 text "\tex{(l)}"
end key

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!TaF6
amove 0.2 ystart
begin graph
    size xbiggraphsize ygraphsize
    
    data TaF6/TaF6-At.txt d1=c1,c2 d2=c1,c3
    
    xtitle "\tex{$t$ (\si{\us})}"
    xaxis min timn max timx dticks titicks dsubticks tisubticks
    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 ticklength
    !xlabels off
    
    ytitle "\tex{$A(t)$ (\%)}"
    yaxis min 7 max 21 dticks 5 dsubticks 1
    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
    yticks length ticklength
    !ylabels off
    
    d1 err d2 errwidth Aterrw lwidth lw color rgb(0,0.1,0.25)
end graph

begin key
 pos tr nobox
 text "\tex{(m)}"
end key

begin key
 pos tl nobox
 text "\tex{[Cu(HF$_2$)(pyz)$_2$]TaF$_6$}"
end key

begin graph
    size xbiggraphsize ygraphsize
    
    data TaF6/TaF6-At-fit.txt d1=c1,c2
    
    xaxis min timn max timx
    xaxis off
    
    yaxis min 7 max 21
    yaxis off
    
    d1 line lwidth glw color rgb(0.25,0.65,1)
end graph


rmove xbiggraphsize+xoffset 0
begin graph
    size xgraphsize ygraphsize
    
    data TaF6/try2.dat d1=c1,c3 d2=c1,c4
    let d4 = 3.356*(1-(x/4.2003)^(1.50))^(0.2424) from 0 to 4.2003
    let d3 = d4*0.66
    
    xtitle "\tex{$T$ (K)}"
    xaxis min Tmn max Tmx dticks Tticks dsubticks Tsubticks
    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 ticklength
    !xlabels off
    !xsubticks off
    
    ytitle "\tex{$\nu$ (MHz)}"
    yaxis min numn max numx dticks nuticks dsubticks nusubticks nolast
    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
    yticks length ticklength
    !ysubticks off
    
    d1 marker fcircle err d2 msize ms errwidth 0.05 lwidth 0.01
    d3 lstyle 5 lwidth glw color rgb255(255,13,13)
    d4 line lwidth glw color rgb255(48,80,248)
end graph

begin key
 pos tr nobox
 text "\tex{(n)}"
end key

rmove xgraphsize+xoffset+10*pt 0
begin graph
    size xgraphsize ygraphsize
    
    data TaF6/try2.dat d3=c1,c5 d4=c1,c6 d1=c1,c7 d2=c1,c8 !d5=c4,c13 d6=c4,c14

    xtitle "\tex{$T$ (K)}"
    xaxis min Tmn max Tmx dticks Tticks dsubticks Tsubticks
    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 ticklength
    !xlabels off
    !xsubticks off
    
    ytitle "\tex{$\lambda$ (MHz)}"
    yaxis min numn max numx dticks nuticks dsubticks nusubticks nolast
    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
    yticks length ticklength
    !ysubticks off
    
    d1 marker wcircle err d2 msize ms color rgb255(255,13,13) errwidth erw lwidth lw
    d3 marker fcircle err d4 msize ms color rgb255(48,80,248) errwidth erw lwidth lw
    !d5 marker ftriangle err d6 msize ms color rgb255(144,224,80) errwidth erw lwidth lw
end graph

begin key
 pos tr nobox
 text "\tex{(o)}"
end key


set color rgb(0.25,0.65,1)
amove 4.5 17.1
text \tex{1.6 K}

amove 4.5 13.1
text \tex{1.6 K}

amove 4.5 10.3
text \tex{0.4 K}

amove 4.5 6.2
text \tex{2.0 K}

amove 4.5 3
text \tex{2.3 K}