set terminal postscript eps color enhanced solid font "Helvetica,20" size 13cm,8cm set colorsequence classic set output 'off_reso_g2.eps' infile0 = 'off_reso_g2.dat' infile1 = 'off_reso_g2_sim.dat' infile2 = 'g2_wo_cavity.dat' infile3 = 'g2_wo_cavity_sim.dat' set lmargin 7 set rmargin 1.2 #set tmargin at screen 0.98 #set bmargin at screen 0.15 set multiplot set samples 500 unset key set label 1 at -102, 3 set label 1 "{/Symbol t}_{rise} = 7.8(9) ns" tc lt 7 set label 2 at 110, 3 set label 2 "{/Symbol t}_{fall} = 30(2) ns" tc lt 7 set arrow from 0,0 to 0,9.5 nohead ls 2 lc 7 lw 4 dt 3 set ytics 2 nomirror set yrange [0:9.5] set xtics 50 nomirror set xrange[-110:210] set ylabel "g^{2} ({/Symbol t})" offset 0,0 set xlabel "Time {/Symbol t} (ns)" #set bars 2 set origin 0,0 set size 1,1 plot infile0 u ($1-476):($4/13.255):(sqrt($4)/13.255) w yerr lc 1 ps 0.8 pt 7 notitle, infile1 u ($1-476):($2/13.255) w lines lw 3 lc 3 unset label 1 unset label 2 unset arrow set origin 0.46, 0.49 set size 0.52, 0.48 set ytics 1 nomirror set yrange [0:3] set xtics 100 nomirror set xrange[-130:130] set ylabel "g^{2} ({/Symbol t})" offset 1,0 set xlabel "{/Symbol t} (ns)"offset 0,0.4 plot infile2 u ($1-481):($4/72.25):(sqrt($4)/72.25) w yerr lc 1 ps 0.3 pt 7 notitle, infile3 u ($1-481):($2/72.25) w lines lw 3 lc 3 replot pause -1