if [ $bm = "Bayes.bin" ]
then name="bayes"
fi
-echo $bm CSEQ TL2 SWISSTM BASE FIS FISAR DEB DV HYDV OPTSTM > ${bm}_spreadsheet.dat
+echo $bm CSEQ TL2 SWISSTM BASE OBJDEC FISAR DEB ARRDEC HYBARRAYDEC OPTSTM > ${bm}_spreadsheet.dat
cat logfinalpaper/log/${bm}_1_LOCK_* | grep TIME= > tmpfile
base=`java add tmpfile`
cat ~/stamp/stamp-0.9.10/log/${name}_seq_1_* | grep -i time > tmpfile
echo ${num} ${line} >> ${bm}_spreadsheet.dat
done
echo set bar 1.000000 > plot_${bm}.txt
+echo set terminal postscript enhanced \"Times-Roman\" 16 >> plot_${bm}.txt
echo set boxwidth 0.9 absolute >> plot_${bm}.txt
echo set style fill pattern 0.00 border -1 >> plot_${bm}.txt
echo set style rectangle back fc lt -3 fillstyle solid 1.00 border -1 >> plot_${bm}.txt
-echo set key inside left top vertical Right noreverse enhanced autotitles columnhead nobox >> plot_${bm}.txt
+echo set key inside left top vertical Left reverse enhanced autotitles columnhead nobox >> plot_${bm}.txt
echo set style histogram clustered gap 2 title offset character 0, 0, 0 >> plot_${bm}.txt
echo set datafile missing \'-\' >> plot_${bm}.txt
echo set style data histograms >> plot_${bm}.txt
echo set xtics border in scale 1,0.5 nomirror rotate by -45 offset character 0, 0, 0 >> plot_${bm}.txt
echo set xtics norangelimit >> plot_${bm}.txt
echo set xrange [-.7:3.7] >> plot_${bm}.txt
-echo set ylabel offset character 0, 0, 0 font \"\" textcolor lt -1 rotate by 90 >> plot_${bm}.txt
+echo set ylabel \"Speedup\" offset character 0, 0, 0 font \"\" textcolor lt -1 rotate by 90 >> plot_${bm}.txt
+echo set xlabel \"Number of Threads\" offset character 0, 0, 0 font \"\" textcolor lt -1 rotate by 90 >> plot_${bm}.txt
echo set y2label offset character 0, 0, 0 font \"\" textcolor lt -1 rotate by 90 >> plot_${bm}.txt
-#echo set yrange [ 0 : 8 ] noreverse nowriteback >> plot_${bm}.txt
+echo set grid ytics >> plot_${bm}.txt
+echo set yrange [ 0 : \* ] noreverse nowriteback >> plot_${bm}.txt
echo set cblabel offset character 0, 0, 0 font \"\" textcolor lt -1 rotate by 90 >> plot_${bm}.txt
echo set locale \"C\" >> plot_${bm}.txt
-if [ $name = "intruder" ]
-then
-echo plot \'${bm}_spreadsheet.dat\' using 4:xticlabels\(1\) ti col, \'\' u 5 ti col, \'\' u 6 ti col, \'\' u 7 ti col, \'\' u 8 ti col, \'\' u 9 ti col, \'\' u 10 ti col >> plot_${bm}.txt
-elif [ $name = "ssca2" ]
-then
-echo plot \'${bm}_spreadsheet.dat\' using 4:xticlabels\(1\) ti col, \'\' u 5 ti col, \'\' u 6 ti col, \'\' u 7 ti col, \'\' u 8 ti col, \'\' u 9 ti col, \'\' u 10 ti col >> plot_${bm}.txt
-else
-echo plot \'${bm}_spreadsheet.dat\' using 4:xticlabels\(1\) ti col, \'\' u 5 ti col, \'\' u 6 ti col, \'\' u 7 ti col, \'\' u 8 ti col, \'\' u 9 ti col, \'\' u 10 ti col, \'\' u 11 ti col >> plot_${bm}.txt
-fi
-echo pause -1 >> plot_${bm}.txt
+echo plot \'${bm}_spreadsheet.dat\' using 5:xticlabels\(1\) ti col, \'\' u 6 ti col, \'\' u 9 ti col, \'\' u 10 ti col >> plot_${bm}.txt
+#echo pause -1 >> plot_${bm}.txt
done
\ No newline at end of file