#set term x11 persist
set term cairolatex pdf size 5in,3in
set output "flux.tex"
set key reverse
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 "blue" title "$\\overbar{\\phi}$"