From 7fcedb6ef3cdfc134bb9cbd0bd9febf776f00b14 Mon Sep 17 00:00:00 2001 From: caes Date: Fri, 12 Aug 2016 05:14:35 -0400 Subject: [PATCH] added scripts for plotting tophat functions --- scripts/templates/tophat_freqdomain.gp | 22 ++++++++++++++++++++++ scripts/templates/tophat_timedomain.gp | 19 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 scripts/templates/tophat_freqdomain.gp create mode 100644 scripts/templates/tophat_timedomain.gp diff --git a/scripts/templates/tophat_freqdomain.gp b/scripts/templates/tophat_freqdomain.gp new file mode 100644 index 0000000..b5490fc --- /dev/null +++ b/scripts/templates/tophat_freqdomain.gp @@ -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" \ No newline at end of file diff --git a/scripts/templates/tophat_timedomain.gp b/scripts/templates/tophat_timedomain.gp new file mode 100644 index 0000000..3aefb82 --- /dev/null +++ b/scripts/templates/tophat_timedomain.gp @@ -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" \ No newline at end of file