source: examples/scaling_tests/plotting/gen_big @ f30b1e9

abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change on this file since f30b1e9 was 7e3f5e2, checked in by Mei <mei@…>, 12 years ago

1) converted daisychain scaling tests

  • Property mode set to 100755
File size: 936 bytes
Line 
1#!/bin/sh
2
3SET=$1
4filename=${SET}_orig
5if [ ! -e $filename ] ; then
6    exit
7fi
8
9## generate the plot script
10make_script() {
11cat <<FIN > $DATA.p
12set title "$TITLE"
13set terminal jpeg medium size 640,480
14set output "$DATA.jpeg"
15set   autoscale   
16unset log
17unset label                           
18set xtic auto                         
19set ytic auto                         
20set xlabel "Number of Credentials"
21set ylabel "$TYPE time ($TIME)"
22set xr [0:*]
23set yr [0:*]
24plot '$DATA1.dat' using $X:$Y title '$DATA1' with linespoints lt 8, \\
25'$DATA2.dat' using $X:$Y title '$DATA2' with linespoints lt 3, \\
26'$DATA3.dat' using $X:$Y title '$DATA3' with linespoints lt 1, \\
27'$DATA4.dat' using $X:$Y title '$DATA4' with linespoints lt 2
28FIN
29}
30
31X=1
32Y=2
33###
34TYPE='Query Time'
35TITLE='Various Query Time'
36DATA=${SET}_query
37DATA1=${SET}_mgood
38DATA2=${SET}_good1
39DATA3=${SET}_mbad
40DATA4=${SET}_bad1
41TIME='microsec'
42make_script
43gnuplot $DATA.p
44
Note: See TracBrowser for help on using the repository browser.