4 ${ if 'fmt' in globals() and fmt: }$
6 set term png size 640,480
7 ${: elif fmt == 'svg': }$
8 set term svg size 1600 1200 dynamic
9 ${: elif fmt == 'eps': }$
10 set term postscript eps monochrome size 18cm,27cm 16
12 set output "${output}$"
18 set style histogram rows title offset character 2, 0.25, 0
19 set style fill solid 1.00 border rgb 'black'
20 set style data histograms
21 set xtics border in scale 1,0.5 nomirror rotate by -45
22 #set xtics font "/usr/share/fonts/truetype/msttcorefonts/arial.ttf,9"
25 set title "${title}$ [${cpus}$ CPU${'s' if cpus > 1 else ''}$]"
28 set datafile separator ','
31 set ylabel "Time (sec)"
32 set xlabel font "/usr/share/fonts/truetype/msttcorefonts/arial.ttf,9"
37 emit('title "%s"' % name if i == 0 else 'notitle')
39 emit(', \\' if i != len(progs)-1 else '')
43 plot ${ for i, (name, file) in enumerate(progs.items()): }$ \
44 newhistogram '${name}$' at ${at(i)}$, '${file}$' \
45 using 2:xtic(1) ${title(i, 'min')}$ \
47 '' using (abs($3-$2-$5)) notitle \
49 '' using ($5) ${title(i, 'mean+/-std')}$ \
51 '' using ($5) notitle \
53 '' using (abs($4-$3-$5)) ${title(i, 'max')}$ \
54 lc rgb 'gray90' ${end(i)}$