Commit | Line | Data |
---|---|---|
416d1179 | 1 | #!/bin/bash |
2 | ||
3 | rm -f plot-* | |
4 | ||
5 | ./statcomp gstat | while read k x avg dev dl dh min max; do | |
6 | echo "$x $dl $min $max $dh" >>plot-$k-dev; echo "$x $avg" >>plot-$k-avg | |
7 | done | |
8 | ||
9 | for k in au du; do | |
10 | gnuplot <<EOF | |
11 | set xrange [0:10000] | |
12 | set terminal postscript eps enhanced | |
13 | set output "$k.ps" | |
14 | plot "plot-$k-dev" with candlesticks, "plot-$k-avg" with lines; | |
15 | EOF | |
16 | done |