set terminal postscript eps color enhanced font "Helvetica,18" size 12cm,16cm set output 'efficiency_det.eps' unset label set multiplot set border 3 set origin 0,0 set format x "" set origin 0,0.5 set size 1,0.485 unset label set xtics 4 nomirror set ytics nomirror set notitle set ylabel font "Helvetica,18" "Efficiency" set key at first 3, first 0.17 plot [-16:16][0.06:0.18] 'plot_efficiencyvsdetuning.dat' u (($1-67.5)*2):($2/$3):(sqrt($2)/$3) w yerrorbars title "signal heralding efficiency" pt 7 ps 1 lc rgb "blue" , 'plot_efficiencyvsdetuning.dat' u (($1-67.5)*2):($2/$4):(sqrt($2)/$4) w yerrorbars title "idler heralding efficiency" pt 3 ps 1 lc rgb "red" set origin 0,0 set size 1,0.5 set format x "%2.0f" set xlabel font "Helvetica,18" "Detuning from two photon resonance {/Symbol d} (MHz)" set ylabel font "Helvetica,18" "pair rate (r_{p})" plot 'plot_efficiencyvsdetuning.dat' u (($1-67.5)*2):($2/1.875):(sqrt(($2/1.875))) w yerrorbars notitle "signal heralding efficiency" pt 7 ps 1 lc rgb "brown" #, 'plot_efficiencyvsdetuning.dat' u (($1-67.5)*2):($2/$4):(sqrt($2)/$4) w yerrorbars #title "idler heralding efficiency" pt 3 ps 1 lc rgb "red"