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 log y 10 #set log x 10 set format y "10^{%T}" #set format x "10^{%T}" #set format x "%2.0f" set tics scale 2 set tics nomirror #set ytics (10,100,1000,10000,100000,1000000) #set xtics (0.001,0.01,0.1,1,10,100) set yrange [0.1:300] set xrange [-1:10] set border linewidth 1 #set bars large set xlabel "Integration time {/Symbol-Oblique D}{/:Italic T} (hours)" set ylabel "Signal-to-noise ratio, SNR" offset 0,0 set output "snr.eps" #set output "snr.png" set samples 10000 #V^2=0.25, QE30%, N=4000 c/s, tauc=1ns 0.3GHz, T=x, 3600s/hr ingaas(x) = 0.25*4000*sqrt(1*0.000000001*x*3600) #V^2=0.9, QE90%, N=36000 c/s, tauc=0.3ns 1GHz, T=x, 3600s/hr nanowire(x) = 0.9*36000*sqrt(0.3*0.000000001*x*3600) set arrow from 0, graph 0 to 0, graph 1 nohead dt 2 lc rgb "black" lw 2 set label "SNSPD" at screen 0.7, 0.77 set label "SPAD" at screen 0.7, 0.48 plot ingaas(x) with lines lw 3 lc rgb "red" notitle, nanowire(x) with lines lw 3 lc rgb "black" dt 4 notitle reset