#!/usr/bin/gnuplot f1 = 'bi_2017_04_20_bin_post.dat' f2 = 'blue_2017_04_20_bin_post.dat' f3 = 'red_2017_04_20_bin_post.dat' f4 = 'offresonant/0420_blue_offresonant_bin_post.dat' f5 = 'offresonant/0420_red_offresonant_bin_post.dat' set terminal postscript eps color enhanced solid font "Helvetica,20" size 10cm, 8.35cm set output "threshold.eps" #set termoption dash blue_defined = '#0078FF' set border linewidth 1.5 unset bar unset key set samples 1000 set xtics nomirror 20 set ytics nomirror 10 set ylabel 'Transmission (%)' set xlabel 'Threshold photons' set yrange [56:106] set label 1 "One-sided ({/Symbol-Oblique D}=1.7{/Symbol-Oblique G}_0)" at 68,100 textcolor rgb 'dark-red' set label 2 "One-sided" at 45,81 textcolor rgb 'red' set label 3 "4Pi" at 70,67 #set label 4 "threshold for\nFigure 2 \\& 3" at 58,72.5 set label 4 "threshold for\nFigure 2 \\& 3" at 89,62 set arrow from 88,60.8 to 68,60.8 lc rgb 'black' lw 2 nohead set arrow from 68,60.75 to 68,62.8 lc rgb 'black' lw 2 nohead #set arrow from 68,68.6 to 68,64.6 lt 3 lc rgb 'black' lw 4 #nohead plot f5 every 2 u 2:($5*100):($6*100) w ye pt 13 ps 1.8 lt 1 lw 3 lc rgb 'dark-red',\ f5 every 2 u 2:($5*100):($6*100) w l lw 2 lt 1 lc rgb 'dark-red' not ,\ f3 every 3 u 2:($5*100):($6*100) w ye pt 5 ps 1.3 lt 1 lw 3 lc rgb 'red' ,\ f3 every 3 u 2:($5*100):($6*100) w l lw 2 lt 1 lc rgb 'red' not ,\ f1 every 3 u 2:($7*100):($8*100) w ye pt 7 ps 1.5 lt 1 lw 3 lc rgb 'black' ,\ f1 every 3 u 2:($7*100):($8*100) w l lw 2 lt 1 lc rgb 'black' not unset output