# STACK THEM ALL set terminal postscript eps color enhanced solid font "Helvetica,20" size 12cm,6.5cm set colorsequence classic set output 'pdd.eps' infile0 = 'data/summary_PDD.dat' infile1 = 'data/summary_UDD.dat' infile0_s = 'data/pdd_sim_eff.dat' set ylabel "Coherence time T_2 ({/Symbol m}s)" offset 1,0 set xlabel "Number of {/Symbol p}-pulses N" #set label 1 at 5, 650 #set label 1 "PDD" tc lt 1 #set label 2 at 3, 1500 #set label 2 "UDD" tc lt 3 #set label 3 at 4, 650 #set label 3 "(evenly-spaced {/Symbol p}-pulses)" tc lt 1 #set label 4 at 0.1, 1650 #set label 4 "(j-th {/Symbol p}-pulse at sin^2(0.5{/Symbol p}j/(N+1)) )" tc lt 3 set lmargin 8 set rmargin 1 set xrange [0:15.5] set ytics 500 nomirror set xtics 5 nomirror set yrange [250:2500] unset key f(x) = a*x+b a = 125 b = 350 plot infile0 u ($1):(($1+1)*$2):(($1+1)*$3) w yerr lc 1 ps 1.2 pt 7 t '3 pi',\ infile0_s u 1:2 w lines lw 3 lc 3 #(f(x)) lw 2 lc 1 #infile1 u ($1):(($3)*$2) lc 3 ps 1.2 pt 7 t '5 pi' #infile2 u (8*$1):(100*$5):(100*$6) w yerr lc 7 ps 1.2 pt 7 t 'Echo (clock)' pause -1