#set terminal pdfcairo color dashed enhanced font "Helvetica,14" size 12.6cm,8cm set terminal postscript eps color enhanced font "Helvetica,22" size 12.6cm,8cm set output 'beat_fit.eps' set colors classic #no. of triggers, used for normalising t = 42432513 set xlabel "Delay between detection events {/Symbol D}t_{ab} (ns)" set ylabel "Coincidence probability" offset graph -0.055,0 set label 1 at -130,15.04 "15 {/Symbol=30 \327}10^{-7}" set xtics autofreq nomirror set mxtics 2 unset ytics set ytics format "" set ytics 1 nomirror ("0" 0, "10" 10,"5" 5,"" 15) offset graph -0.04,0 set yrange [0:18] set bars 0 set border 3 set key spacing 1.5 set key at 155,4.5 font "Helvetica,22" #unset key plot [-100:100] 'hom_hwp255.5_74.6mhzfreqdifference.g2' u 1:(($2+$3)*1e7/t):(sqrt($2+$3)*1e7/t) w yerrorbars lt 1 pt 6 ps 1.2 notitle ,\ 'fit_data.dat' u 1:2 w l lt 1 lw 1.5 lc rgb "blue" notitle # 'hom_hwp255.5_74.6mhzfreqdifference.g2' u 1:(($2+$3)*1e7/t):(sqrt($2+$3)*1e7/t) w l lt 1 lw 1.5 lc rgb "red" notitle # plot [-150:150] 'g2_delay_0_10nstimebin.dat' u ($1+c):($2*1e6/tpll):(sqrt($2)*1e6/tpll) w yerrorbars lt 1 lw 2 pt 6 ps 1.5 title "G_{||} , interfering",\ # 'g2_perp_10nstimebin.dat' u ($1+c):($2*1e6/tperp):(sqrt($2)*1e6/tperp) w yerrorbars lt 1 lw 2 pt 7 ps 1.5 lc rgb "blue" t 'G_{{/Symbol \136 }}, non-interfering',\ # 'g2_theory_perp.dat' u ($1):((b+et*$2)*1e6) w l lc rgb "blue" lt 1 lw 3 notitle,\ # 'g2_theory_0n.dat' u ($1):((b+et*$2)*1e6) w l lc rgb "red" lt 1 lw 3 notitle