xsize=6.2
ysize=4.7
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=0.55
Tticks=0.2
Tsubticks=0.1
numn=0 !frequency
numx=2.5
nuticks=1
nusubticks=0.5
lambdamn=0 !relaxation
lambdamx=2
lambdaticks=0.5
lambdasubticks=1
timn=0 !for A(t) graphs, time should be consistent
timx=4
titicks=1
tisubticks=0.5

xgraphsize=5
ygraphsize=5
xbiggraphsize=7

xoffset=-0.7
yoffset=3.5

ticklength=0.1

!waterfalloffset=2

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

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!Cupyo6BF4
amove 0.2 0.2
begin graph
    size xbiggraphsize ygraphsize
    
    data Cupyo6PF62/Cupyo6PF62-At.dat 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 3 max 22 dticks 5 dsubticks 1 !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
    !ylabels off
    
    d1 err d2 errwidth Aterrw lwidth lw color rgb(0.25,0,0)
end graph

begin key
 pos tl nobox
 offset 0.1 0
 text "\tex{[Cu(pyo)$_6$](PF$_6$)$_2$}"
end key

begin graph
    size xbiggraphsize ygraphsize
    
    data Cupyo6PF62/Cupyo6PF62-At.fit d1=c1,c2
    
    xaxis min timn max timx
    xaxis off
    
    yaxis min 3 max 22
    yaxis off
    
    d1 line lwidth glw color rgb(1,0.05098,0.05098)
end graph

amove 4.3 2.3
set color rgb(1,0.05098,0.05098)
text \tex{0.02 K}