psdlag-agn/scripts/templates/psd_freq.gp

23 lines
646 B
Plaintext
Raw Normal View History

2016-07-12 20:23:24 +00:00
# This method assumes y values are in logarithm units already.
2016-07-12 15:19:13 +00:00
2016-07-12 20:23:24 +00:00
set title "%TITLE"
set terminal png
set output "tmp.png"
2016-07-12 15:19:13 +00:00
2016-07-12 20:23:24 +00:00
set title "Yo"
set xlabel "Temporal Frequency [1/days]"
set xrange [0.005:0.603]
2016-07-12 15:19:13 +00:00
2016-07-12 20:23:24 +00:00
# Use this if you want to show PSD directly on a log axis
# set logscale xy
# set ylabel "PSD"
# set yrange [0.0005:100]
# plot '%FILE1' using 1:(10**($2+2)):3:4 with xyerrorbars, \
# '%FILE2' using 1:(10**($2+2)):3:4 with xyerrorbars
2016-07-12 15:19:13 +00:00
2016-07-12 20:23:24 +00:00
# Use this if you want to show the log value of the PSD
set logscale x
set ylabel "log_{10} PSD"
set yrange [-5.5:0.5]
plot '%FILE1' using 1:2:3:4 with xyerrorbars, \
'%FILE2' using 1:2:3:4 with xyerrorbars