set terminal postscript eps color enhanced solid font 'Helvetica, 16pt' size 8.6cm, 6cm dl .5 set style line 1 lt 1 lc rgb "black" lw 2.5 set style line 2 lt 5 lc rgb "grey" lw 2 set style line 3 lt 1 pt 6 ps 1 lc rgb "#034E7B" lw 3 set style line 4 lt 1 pt 6 ps 1 lc rgb "#f7a789" lw 3 set style line 5 lt 1 pt 6 ps 1 lc rgb "#e36a53" lw 3 set style line 6 lt 1 pt 6 ps 1 lc rgb '#b40426' lw 3 set style line 7 lt 1 pt 5 ps 1.1 lc rgb "orange" lw 3 set style line 10 lt 1 lc 0 lw 0.3 set style line 11 lt 1 pt 6 ps 1 lc rgb "#034E7B" lw 3 set style line 12 lt 1 pt 4 ps 1.1 lc rgb "orange" lw 6 set style line 13 lt 1 pt 6 ps .7 lc rgb "#b40426" lw 3 set style line 14 lt 1 pt 6 ps 0 lc rgb "#034E7B" lw 3 set output '200us_pulse_combined.eps' set style fill solid 0.6 set boxwidth 2 set ylabel 'Detection Probability ' offset 1.6,0 set xlabel 'Time difference {/Symbol D}t (ns) ' set ytics 0.05 set xtics 20 set label "(d)" right at graph 0.125, graph 0.96 fname = 'shortpulse_no_blinding.txt' fname1 = 'shortpulse_just_blinding.txt' set yrange [0:0.14] set xrange [-1:100] overall_pulse_blinded = 12380 overall_pulse_noblinded = 12542 plot fname u 1:($2 == 0 ? NaN : $2)/overall_pulse_noblinded:(sqrt($2)/overall_pulse_noblinded) ls 6 pt 6 ps 1.5 lw 4 lc "blue" with errorbars title "Unblinded",\ fname1 u 1:($2 == 0 ? NaN : $2)/overall_pulse_blinded:(sqrt($2)/overall_pulse_blinded) ls 6 pt 2 ps 1.5 lw 4 with errorbars title "Blinded",\