#!/usr/bin/gnuplot set terminal postscript eps color enhanced solid font "Helvetica,18" size 8.6cm, 6cm #set terminal epslatex color set output "fig3.eps" ################################# ####### ####GENERAL SETTINGS#### set border linewidth 1.5 set samples 5000 set multiplot #set bar 2 unset bar unset key #set style fill solid 0.3 noborder ########################### ##### ##### unset key #unset xtics #unset xlabel #unset ytics #unset ylabel unset key set border 15 #set tmargin at screen 0.53 set bmargin at screen 0.18 set lmargin at screen 0.15 #set rmargin at screen 0.95 f0 = 'data/numsim.dat' f1 = 'data/expt.dat' set ytics 0.1 nomirror format "%g" set xtics 2 nomirror set xtics add ("{/Symbol p}/2" 0.5) set xtics add ("{/Symbol p}" 1) set yrange [0.5:1] set xrange [-0.02:1.02] set xlabel 'phase {/Symbol f}' set ylabel 'mode matching efficiency' unset label unset title unset grid set key bottom right plot f0 using 1:2 with lines lw 3 dt 2 lc 'red' title 'simulation', f1 using 1:2:3 with yerrorbars lw 3 pt 7 lc 'blue' title 'measurement', #################################