2 for bm in KMeans.bin Labyrinth.bin SSCA2.bin Genome.bin Vacation.bin yada.bin Intruder.bin Bayes.bin
4 echo $bm FIS FISAR DEB OPSTM DV HYDV > ${bm}_spreadsheet.dat
5 cat log/${bm}_1_LOCK_* | grep TIME= > tmpfile
6 base=`java add tmpfile`
11 for type in FIS FISAR DEB OPTSTM DV HYDV
13 cat log/${bm}_${num}_${type}_* | grep TIME= > tmpfile
14 ave=`java add -norm $base tmpfile`
15 stddev=`java add -err tmpfile`
17 stddevline="$stddevline, $stddev"
19 echo ${num} ${line} ${stddevline} >> ${bm}_spreadsheet.dat
21 echo set bar 1.000000 > plot_${bm}.txt
22 echo set boxwidth 0.9 absolute >> plot_${bm}.txt
23 echo set style fill pattern 0.00 border -1 >> plot_${bm}.txt
24 echo set style rectangle back fc lt -3 fillstyle solid 1.00 border -1 >> plot_${bm}.txt
25 echo set key inside left top vertical Right noreverse enhanced autotitles columnhead nobox >> plot_${bm}.txt
26 echo set style histogram clustered gap 2 title offset character 0, 0, 0 >> plot_${bm}.txt
27 echo set datafile missing \'-\' >> plot_${bm}.txt
28 echo set style data histograms >> plot_${bm}.txt
29 echo set xtics border in scale 1,0.5 nomirror rotate by -45 offset character 0, 0, 0 >> plot_${bm}.txt
30 echo set xtics norangelimit >> plot_${bm}.txt
31 echo set xrange [-.7:3.7]
32 echo set ylabel offset character 0, 0, 0 font \"\" textcolor lt -1 rotate by 90 >> plot_${bm}.txt
33 echo set y2label offset character 0, 0, 0 font \"\" textcolor lt -1 rotate by 90 >> plot_${bm}.txt
34 echo set yrange [ 0 : 8 ] noreverse nowriteback >> plot_${bm}.txt
35 echo set cblabel offset character 0, 0, 0 font \"\" textcolor lt -1 rotate by 90 >> plot_${bm}.txt
36 echo set locale \"C\" >> plot_${bm}.txt
37 echo plot \'${bm}_spreadsheet.dat\' using 2:xticlabels\(1\) ti col, \'\' u 3 ti col, \'\' u 4 ti col, \'\' u 5 ti col, \'\' u 6 ti col, \'\' u 7 ti col >> plot_${bm}.txt
38 echo pause -1 >> plot_${bm}.txt