# Template for gnuplot. All arguments are strings
# 0 = file base name
# 1 = xlabel
# 2 = ylabel
# 3 = <extra set instructions...>
# 4 = field #/function for x axis
# 5 = field #/function for y axis
# 6 = title
mega(x) = x /1000000
kilo(x) = x /1000
set terminal jpeg
set output 'total_%s.jpg'
set xlabel '%s'
set ylabel '%s'
%s
plot '../results' using %s:%s title '%s'
