source: examples/scaling_tests/plotting/gen_med @ abf8d5d

mei_rt2mei_rt2_fix_1
Last change on this file since abf8d5d was 671c065, checked in by Mei <mei@…>, 12 years ago

1) update new performance graphs with standard deviations

  • Property mode set to 100755
File size: 1.0 KB
RevLine 
[08b8da7]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:*]
[671c065]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
[08b8da7]27FIN
28}
29
30X=1
31Y=2
[671c065]32Z=3
[08b8da7]33###
34TYPE='Query Time'
[94a4dd2]35TITLE='Valid Query Time'
[08b8da7]36DATA=${SET}_goodquery
37DATA1=${SET}_mgood
38DATA2=${SET}_good1
[94a4dd2]39TITLE1='average'
40TITLE2='first'
[08b8da7]41TIME='microsec'
42make_script
43gnuplot $DATA.p
44###
45TYPE='Query Time'
[94a4dd2]46TITLE='Invalid Query Time'
[08b8da7]47DATA=${SET}_badquery
48DATA1=${SET}_mbad
49DATA2=${SET}_bad1
[94a4dd2]50TITLE1='average'
51TITLE2='first'
[08b8da7]52TIME='microsec'
53make_script
54gnuplot $DATA.p
55
Note: See TracBrowser for help on using the repository browser.