#!/usr/bin/gnuplot set terminal postscript eps color enhanced solid font "Helvetica,18" size 8.6cm, 6cm set output "../figure4.eps" ################################# ####### ####GENERAL SETTINGS#### set border linewidth 1.5 set samples 5000 set multiplot #set bar 2 unset bar unset key set style fill solid 0.3 noborder set lmargin at screen 0.15 set rmargin at screen 0.9 ########################### ##### ##### set xrange[-2:202] set yrange [0:57] set tmargin at screen 0.57 set bmargin at screen 0.17 f1 = 'dat/F99_processed_data.dat' set ytics 20 nomirror format "%g" set xtics 50 nomirror set xlabel 'time (ms)' unset ylabel unset key set bars small #set key left top unset title unset grid plot f1 using 4:5:(sqrt($5)) w yerr pt 7 ps 1.0 lc rgb "blue" lw 2 #, f1 using 4:6 w lines lw 3 dt 2 lc rgb "blue" not unset xtics unset xlabel set border 14 set yrange [0:29] set tmargin at screen 0.97 set bmargin at screen 0.57 set ylabel 'detection rate (cts/ms)' offset 0,-4 unset key set label 1 "atom trapped" at graph 0.09,0.85 set label 2 "atom lost" at graph 0.6,0.85 plot f1 using 1:2:(sqrt($2)) w yerr pt 7 ps 1.0 lc rgb "red" lw 2 #, f1 using 1:3 w lines lw 3 dt 2 lc rgb "red"not unset multiplot unset output #pause -1