#set term x11 persist
set term cairolatex pdf size 4in,2.5in
set output "flux.tex"
set key reverse top left
set grid
set xlabel "Distance [cm]"
set ylabel "$\\phi$"
plot 'flux.out' using 1:($2 + $3):($2 - $3) with filledcurves lc rgb "#CCCCFF" title "$\\pm 1 \\sigma$", \
'flux.out' using 1:2 with lines lc rgb "red" title "$\\overline{\\phi}$"