xsize=12.1
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=67
alloffset=1.5

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 ClO4-waterfall/5281.wim d1=c1,c2 d2=c1,c3
 data ClO4-waterfall/5292.wim d3=c1,c2 d4=c1,c3
 data ClO4-waterfall/5293.wim d5=c1,c2 d6=c1,c3
 data ClO4-waterfall/5294.wim d7=c1,c2 d8=c1,c3
 data ClO4-waterfall/5295.wim d9=c1,c2 d10=c1,c3
 data ClO4-waterfall/5296.wim d11=c1,c2 d12=c1,c3
 data ClO4-waterfall/5297.wim d13=c1,c2 d14=c1,c3
 data ClO4-waterfall/5298.wim d15=c1,c2 d16=c1,c3
 data ClO4-waterfall/5299.wim d17=c1,c2 d18=c1,c3
 data ClO4-waterfall/5300.wim d19=c1,c2 d20=c1,c3
 data ClO4-waterfall/5301.wim d21=c1,c2 d22=c1,c3
 data ClO4-waterfall/5302.wim d23=c1,c2 d24=c1,c3
 data ClO4-waterfall/5303.wim d25=c1,c2 d26=c1,c3
 data ClO4-waterfall/5304.wim d27=c1,c2 d28=c1,c3
 data ClO4-waterfall/5305.wim d29=c1,c2 d30=c1,c3
 data ClO4-waterfall/5306.wim d31=c1,c2 d32=c1,c3
 data ClO4-waterfall/5307.wim d33=c1,c2 d34=c1,c3
 data ClO4-waterfall/5308.wim d35=c1,c2 d36=c1,c3
 data ClO4-waterfall/5309.wim d37=c1,c2 d38=c1,c3
 data ClO4-waterfall/5310.wim d39=c1,c2 d40=c1,c3
 data ClO4-waterfall/5311.wim d41=c1,c2 d42=c1,c3
 data ClO4-waterfall/5313.wim d43=c1,c2 d44=c1,c3

 let d1= d1+0*waterfalloffset-alloffset
 let d3= d3+0.0447371405082848*waterfalloffset-alloffset
 let d5= d5+0.13372241357316*waterfalloffset-alloffset
 let d7= d7+0.312089835721676*waterfalloffset-alloffset
 let d9= d9+0.401107000609488*waterfalloffset-alloffset
 let d11= d11+0.436340377882666*waterfalloffset-alloffset
 let d13= d13+0.471903303992856*waterfalloffset-alloffset
 let d15= d15+0.507522926677156*waterfalloffset-alloffset
 let d17= d17+0.542947654887953*waterfalloffset-alloffset
 let d19= d19+0.578212923984068*waterfalloffset-alloffset
 let d21= d21+0.613811285453077*waterfalloffset-alloffset
 let d23= d23+0.649140338195065*waterfalloffset-alloffset
 let d25= d25+0.684352454252952*waterfalloffset-alloffset
 let d27= d27+0.719702768210231*waterfalloffset-alloffset
 let d29= d29+0.754992842057519*waterfalloffset-alloffset
 let d31= d31+0.789776190273703*waterfalloffset-alloffset
 let d33= d33+0.824889087326898*waterfalloffset-alloffset
 let d35= d35+0.860076398633613*waterfalloffset-alloffset
 let d37= d37+0.895100707289762*waterfalloffset-alloffset
 let d39= d39+0.930312823347649*waterfalloffset-alloffset
 let d41= d41+0.965014670238551*waterfalloffset-alloffset
 let d43= d43+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.283552855381214,0.620920858669615,0.955262859491715)
 d5 err d6 errwidth 0.001 lwidth lw color rgb(0.35029181017987,0.563080431177446,0.86627758642684)
 d7 err d8 errwidth 0.001 lwidth lw color rgb(0.484067376791257,0.44714160678091,0.687910164278324)
 d9 err d10 errwidth 0.001 lwidth lw color rgb(0.550830250457116,0.389280449603833,0.598892999390512)
 d11 err d12 errwidth 0.001 lwidth lw color rgb(0.577255283412,0.366378754376267,0.563659622117334)
 d13 err d14 errwidth 0.001 lwidth lw color rgb(0.603927477994642,0.343262852404643,0.528096696007144)
 d15 err d16 errwidth 0.001 lwidth lw color rgb(0.630642195007867,0.320110097659849,0.492477073322844)
 d17 err d18 errwidth 0.001 lwidth lw color rgb(0.657210741165965,0.29708402432283,0.457052345112047)
 d19 err d20 errwidth 0.001 lwidth lw color rgb(0.683659692988051,0.274161599410356,0.421787076015932)
 d21 err d22 errwidth 0.001 lwidth lw color rgb(0.710358464089807,0.2510226644555,0.386188714546923)
 d23 err d24 errwidth 0.001 lwidth lw color rgb(0.736855253646298,0.228058780173208,0.350859661804935)
 d25 err d26 errwidth 0.001 lwidth lw color rgb(0.763264340689714,0.205170904735581,0.315647545747048)
 d27 err d28 errwidth 0.001 lwidth lw color rgb(0.789777076157673,0.18219320066335,0.280297231789769)
 d29 err d30 errwidth 0.001 lwidth lw color rgb(0.816244631543139,0.159254652662613,0.245007157942481)
 d31 err d32 errwidth 0.001 lwidth lw color rgb(0.842332142705277,0.136645476322093,0.210223809726297)
 d33 err d34 errwidth 0.001 lwidth lw color rgb(0.868666815495174,0.113822093237516,0.175110912673102)
 d35 err d36 errwidth 0.001 lwidth lw color rgb(0.895057298975209,0.0909503408881518,0.139923601366387)
 d37 err d38 errwidth 0.001 lwidth lw color rgb(0.921325530467321,0.0681845402616547,0.104899292710238)
 d39 err d40 errwidth 0.001 lwidth lw color rgb(0.947734617510737,0.045296664824028,0.0696871766523508)
 d41 err d42 errwidth 0.001 lwidth lw color rgb(0.973761002678913,0.0227404643449419,0.0349853297614491)
 d43 err d44 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.26
! 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.09 max 0.18 dticks 0.01
 xplaces 0.1 0.14
 xnames "\tex{$0.1$}" "\tex{$0.14$}"

 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 ClO4-waterfall/try3.dat d1=d7,d4 d2=d4,d8
 d1 herr d2
 
 let d99=(x-0.10232)/4.4146E-005 from 0.1 to 0.13
 d99 lstyle 1 color rgb(0.564706,0.878431,0.313726)
end graph