source: examples/scaling_tests/plotting/gen_med @ 9e063cb

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

1) converted daisychain scaling tests

  • Property mode set to 100755
File size: 1.0 KB
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 '$DATA2.dat' using $X:$Y title '$TITLE2' with linespoints lt 8, \\
25'$DATA1.dat' using $X:$Y:(\$$Y-\$$Z):(\$$Y+\$$Z) notitle with errorbars lt 10, \\
26'$DATA1.dat' using $X:$Y title '$TITLE1' with linespoints lt 1
27FIN
28}
29
30X=1
31Y=2
32Z=3
33###
34TYPE='Query Time'
35TITLE='Valid Query Time'
36DATA=${SET}_goodquery
37DATA1=${SET}_mgood
38DATA2=${SET}_good1
39TITLE1='average'
40TITLE2='first'
41TIME='microsec'
42make_script
43gnuplot $DATA.p
44###
45TYPE='Query Time'
46TITLE='Invalid Query Time'
47DATA=${SET}_badquery
48DATA1=${SET}_mbad
49DATA2=${SET}_bad1
50TITLE1='average'
51TITLE2='first'
52TIME='microsec'
53make_script
54gnuplot $DATA.p
55
Note: See TracBrowser for help on using the repository browser.