# STACK THEM ALL set terminal postscript eps color enhanced solid font "Helvetica,22" size 12cm,10cm set colorsequence classic set output 'pdd.eps' infile0 = 'data/summary_PDD.dat' infile1 = 'data/summary_UDD.dat' set ylabel "Coherence time T_2 ({/Symbol m}s)" set xlabel "Number of {/Symbol p}-pulses N" set label 1 at 4, 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 xrange [0:15.5] set ytics 500 set xtics 5 set yrange [250:2500] unset key f(x) = a*x+b a = 125 b = 350 plot infile0 u ($1):(($1+1)*$2) lc 1 ps 1.2 pt 7 t '3 pi',\ 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