set terminal postscript eps color enhanced font "Helvetica,16pt" size 8.6cm,6cm #set terminal pngcairo enhanced font "Helvetica,12pt" size 1920,1080 # common settings set format y2 "%2.1f" #set format x "%2.0f" set tics scale 2 set tics nomirror set ytics 50 set y2tics 0.1 set mytics 5 set my2tics 2 set mxtics 2 set yrange [0.75*248.072522:1.4*248.072522] set y2range [0.75:1.4] set xrange [-2.5:2.5] set border linewidth 1 #set grid set xlabel "Timing separation, {/Symbol t} (ns)" set ylabel "Two-photoevent coincidences" set y2label "g^{(2)}({/Symbol t})" rotate by -90 set output "arclamp.eps" #set output "arclamp.png" set samples 10000 g2(x) = base+peak*exp(-2*abs(x)/wid) peak = 72.7744091 #+/- 28.1744110 (38.71%) (init = 49.91713) #cen = 248.024014 #+/- 0.03963860 (0.02%) (init = 248) wid = 0.28985875 #+/- 0.13654377 (47.11%) (init = 0.5) base = 248.072522 #+/- 0.89146177 (0.36%) (init = 249.5857) set label "Arc lamp" at screen 0.60, 0.85 plot "20260727_1157_arclamp_3mmEtalon55C_noFiberEtalon_limited_set_g2_3shift.txt" using ($1-248.0):2:(sqrt($2)) with yerrorbars lw 2 lc rgb "blue" notitle, g2(x) with lines lw 3 lc rgb "black" notitle reset