set terminal pdf set output "kessels.pdf" #set title "Counter value vs Power" #set xlabel "Counter Value" #set ylabel "Watts" #plot 'kessels-power.txt' using ($1):($4*$3) title "" with linespoints set title "Counter value vs Energy" set xlabel "Counter Value" set ylabel "picoJoules Per Decrement" plot 'kessels-power.txt' using ($1):(0.3*$4*$3*1000*1000*1000*1000/($2*$1)) title "" with linespoints