clag-agn/scripts/templates/timelag_compare.gp
2017-06-22 07:11:39 -04:00

22 lines
541 B
Gnuplot

set terminal pdf
set termoption dash
set termopt enhanced
set output "%OUTPUTFILE%"
set title "%TITLE%\n{/*0.7 %SUBTITLE%}"
set xlabel "Temporal Frequency [days^{-1}]"
set xrange [0.005:0.620]
set logscale x
set ylabel "Lag [days]"
#set yrange [%YMIN:%YMAX]
#set yrange [-5:7]
set key outside
set key center bottom
# Draw line at origin
set arrow from 0.005,0 to 0.620,0 nohead lt 3 lc rgb 'black'
set pointsize 0
plot '%FILE1%' using 1:2:3:4 with xyerrorbars title "%LABEL1%", \
"%FILE2%" using 1:2:3:4 with xyerrorbars title "%LABEL2%"