reset set term postscript enhanced eps color size 8.6cm,6cm font "Helvetica,16pt" dashlength 2.0 set output 'autocorrelation.eps' #set multiplot layout 2,1 rowsfirst title "" font "Helvetica, 28" set ylabel 'Autocorrelation |{/Times-Italic A(d)}|' set xrange [-5:100] set yrange [0.000001:1] set xlabel 'Delay {/Times-Italic d} (samples)' set logscale y 10 set format y "10^{%L}" set x2tics set autoscale x2 set x2range [-5:100] set x2label 'Delay {/Times-Italic t} (ns)' set x2tics ("0" 0, "100" 20, "200" 40, "300" 60, "400" 80, "500" 100) #set label '2{/symbol \264}10^{-3}' at 70, 0.003 font "Helvetica, 22" plot 'auto_lowpass.txt' using 1:(sqrt(($2)**2)) w l lt 1 lw 2 lc rgb 'red' notitle, \ 0.000632 dashtype 2 lw 2 lc rgb 'black' notitle #'bla.txt' using 1:(sqrt(($2)**2)) w l lt 1 lw 2 lc rgb 'blue' notitle #plot 0.00196 lw 0.5 lc rgb 'orange' notitle, \ #'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'