diff --git a/scripts/templates/psd_freq.gp b/scripts/templates/psd_freq.gp new file mode 100644 index 0000000..d0fed30 --- /dev/null +++ b/scripts/templates/psd_freq.gp @@ -0,0 +1,20 @@ + + + +# This method assumes data is in logarithm units already. + +plot 'tables/PSD_lcdrive.dat' using 1:(10**($2+2)):3:4 with xyerrorbars, \ +'tables/PSD_lc1.dat' using 1:(10**($2+2)):3:4 with xyerrorbars, \ +'tables/PSD_lc2.dat' using 1:(10**($2+2)):3:4 with xyerrorbars +#plot 'tmp.timelag' using 1:2:3:4 with xyerrorbars +set logscale xy +set xrange [0.005:0.603] +set yrange [0.0005:100] +# set yrange [:1] +# (x, y, ydelta), +# (x, y, ylow, yhigh), +# (x, y, xdelta), +# (x, y, xlow, xhigh), +# (x, y, xdelta, ydelta), or +# (x, y, xlow, xhigh, ylow, yhigh). + pause -1 diff --git a/scripts/templates/timelag_freq.gp b/scripts/templates/timelag_freq.gp new file mode 100644 index 0000000..332e565 --- /dev/null +++ b/scripts/templates/timelag_freq.gp @@ -0,0 +1,10 @@ +set terminal png +set termoption dash + + +plot 'tables/timelag_lc1.dat' using 1:2:3:4 with xyerrorbars, \ +'tables/timelag_lc2.dat' using 1:2:3:4 with xyerrorbars +set logscale x +set xrange [0.005:0.603] +set arrow from 0.005,0 to 0.603,0 nohead lt 3 lc rgb 'black' +pause -1