reset set term postscript enhanced eps color size 8.6cm,6cm font "Helvetica,16pt" dashlength 2.0 set output 'flash_spectrum.eps' #set multiplot layout 2,1 rowsfirst title "" font "Helvetica, 28" set ylabel 'Photoevent coincidences' set xrange [800:2200] set yrange [0:500] set xlabel 'wavelength (nm)' #set logscale y 10 set format y "%g" #set label '2{/symbol \264}10^{-3}' at 70, 0.003 font "Helvetica, 22" plot 'processed_data.dat' using 2:5 w l lt 1 lw 2 lc rgb 'red' title 'APD1 to APD2',\ 'processed_data.dat' using 2:8 w l lt 2 dt 3 lw 3 lc rgb 'blue' title 'APD2 to APD1',\ 80.75 w l dt 4 lc rgb 'black' title 'background' #'correlation_1M/plus.txt' using 1:2 w lp pt 7 ps 1 lc rgb 'red' title 'negative value', \ #'correlation_1M/minus.txt' using 1:(-$2) w lp pt 7 ps 1 lc rgb 'blue' title 'positive value'