source: examples/scaling_tests/plotting/gen_med @ c6d5da3

mei_rt2mei_rt2_fix_1
Last change on this file since c6d5da3 was 08b8da7, checked in by Mei <mei@…>, 12 years ago

1) rework examples directory with Makefile
2) update scaling with plotting scripts
3) add more doc in there

  • Property mode set to 100755
File size: 933 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 1
26FIN
27}
28
29X=1
30Y=2
31###
32TYPE='Query Time'
33TITLE='Various GOOD Query Time'
34DATA=${SET}_goodquery
35DATA1=${SET}_mgood
36DATA2=${SET}_good1
37TIME='microsec'
38make_script
39gnuplot $DATA.p
40###
41TYPE='Query Time'
42TITLE='Various BAD Query Time'
43DATA=${SET}_badquery
44DATA1=${SET}_mbad
45DATA2=${SET}_bad1
46TIME='microsec'
47make_script
48gnuplot $DATA.p
49
Note: See TracBrowser for help on using the repository browser.