summaryrefslogtreecommitdiff
path: root/plot.gnu
diff options
context:
space:
mode:
Diffstat (limited to 'plot.gnu')
-rw-r--r--plot.gnu13
1 files changed, 11 insertions, 2 deletions
diff --git a/plot.gnu b/plot.gnu
index 46079c6..2d1829b 100644
--- a/plot.gnu
+++ b/plot.gnu
@@ -1,3 +1,12 @@
-set term x11 persist
+#set term x11 persist
+set term cairolatex pdf size 5in,3in
+set output "flux.tex"
-plot 'flux.out' using 1:2 with lines
+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}$"