added scripts for plotting tophat functions

This commit is contained in:
caes 2016-08-12 05:14:35 -04:00
parent 71bd494206
commit 7fcedb6ef3
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,22 @@
set terminal pdf
set termopt enhanced
set output "pres/img/tophat_freqdomain.pdf"
set xrange [0.005:0.620]
set logscale x
set xlabel "Temporal Frequency [days^{-1}]" font "Times,24"
set xtics font 'Times,16'
set mxtics
set yrange [-11:11]
set ylabel "Time Delay [days]" font "Times,24"
set ytics font 'Times,16'
set mytics
unset key
plot "analyses/tables/tophat_fft1.tab" using 1:(-1*$2) with lines lc rgb "red", \
"analyses/tables/tophat_fft2.tab" using 1:(-1*$2) with lines lc rgb "green", \
"analyses/tables/tophat_fft3.tab" using 1:(-1*$2) with lines lc rgb "blue"

View File

@ -0,0 +1,19 @@
set terminal pdf
set output "pres/img/tophat_timedomain.pdf"
set xrange [0:25]
set xlabel "Time [days]" font "Times,24"
set xtics font 'Times,16'
set mxtics
set yrange [0:0.5]
set ylabel "Response [n.u.]" font "Times,24"
set ytics font 'Times,16'
set mytics
unset key
plot "analyses/tables/tophat1.tab" using 1:2 with lines lc rgb "red", \
"analyses/tables/tophat2.tab" using 1:2 with lines lc rgb "green", \
"analyses/tables/tophat3.tab" using 1:2 with lines lc rgb "blue"