added gnuplot script templates

This commit is contained in:
othocaeS 2016-07-12 11:19:13 -04:00
parent 627f297a4d
commit b6dd5fc0a9
2 changed files with 30 additions and 0 deletions

View File

@ -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

View File

@ -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