mirror of
https://asciireactor.com/otho/psdlag-agn.git
synced 2024-11-24 11:15:07 +00:00
added gnuplot script templates
This commit is contained in:
parent
627f297a4d
commit
b6dd5fc0a9
20
scripts/templates/psd_freq.gp
Normal file
20
scripts/templates/psd_freq.gp
Normal 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
|
10
scripts/templates/timelag_freq.gp
Normal file
10
scripts/templates/timelag_freq.gp
Normal 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
|
Loading…
Reference in New Issue
Block a user