set terminal postscript eps color enhanced font "Helvetica,14" size 8.6cm,6cm set output 'hom_g2.eps' tperp=32198490; tpll=24582417; set xlabel "Time delay t_{12} (ns)" set ylabel "Coincidence Probability" set format x "%2.0f" set format y "%1.1f {/Symbol \264} 10^{-6}" #set format y "%1.1fE-6" set xtics 50 nomirror set ytics 0.5 nomirror set bars 0 # Errorbar cap width set pointsize 0.7 set style line 1 lt 1 lc rgb "red" # Red solid line set style line 2 lt 1 lc rgb "blue" # Blue solid line plot [-150:150][0.1:] 'processed_g2_delay_0.dat' u 1:($2*1e6/tpll):(sqrt($2)*1e6/tpll) w yerrorbars ls 1 pt 5 notitle,\ 'processed_g2_perp.dat' u 1:($2*1e6/tperp):(sqrt($2)*1e6/tperp) w yerrorbars ls 2 pt 7 notitle,\ 'processed_g2_delay_0.dat' u 1:($2*1e6/tpll):(sqrt($2)*1e6/tpll) w l ls 1 notitle,\ 'processed_g2_perp.dat' u 1:($2*1e6/tperp):(sqrt($2)*1e6/tperp) w l ls 2 notitle