diff options
| author | Bjoern Brandenburg <bbb@Serenity.local> | 2009-01-11 20:20:33 -0500 |
|---|---|---|
| committer | Bjoern Brandenburg <bbb@Serenity.local> | 2009-01-11 20:20:33 -0500 |
| commit | 6ccfe134d4bff05f457fc97d03f9f3692ab99adb (patch) | |
| tree | 1a9bf1e8ef02a4c88bb5ff40c15a29f551cc6a23 /plot_dist | |
| parent | 1fa1d31e516adc4c7e2c6f800b44d169a5d2d3ee (diff) | |
remove some of the unneeded parts
Diffstat (limited to 'plot_dist')
| -rwxr-xr-x | plot_dist | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/plot_dist b/plot_dist deleted file mode 100755 index 18cb48c..0000000 --- a/plot_dist +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | |||
| 3 | CSV1=$1 | ||
| 4 | CSV2=$2 | ||
| 5 | OUT=$3 | ||
| 6 | TITLE=$4 | ||
| 7 | |||
| 8 | if [ ! -f "$CSV1" ] || [ ! -f "$CSV2" ] || | ||
| 9 | [ "" == "$OUT" ] ; then | ||
| 10 | echo "Usage: plot_dist <normal.csv> <cumulative.csv> <out.png> <title>" | ||
| 11 | exit 1 | ||
| 12 | fi | ||
| 13 | |||
| 14 | gnuplot <<EOM | ||
| 15 | set terminal png picsize 1024 768 | ||
| 16 | set out '/dev/null' | ||
| 17 | plot '$CSV1' title 'distribution' with lines | ||
| 18 | replot '$CSV2' title 'distribution (cumulative)' axes x1y2 with lines | ||
| 19 | set ylabel 'probability' | ||
| 20 | set y2label 'probability (cumulative)' | ||
| 21 | set xlabel 'overhead (in us)' | ||
| 22 | set y2tics | ||
| 23 | set y2range [0.0:1.0] | ||
| 24 | set title '$TITLE' | ||
| 25 | set key top left | ||
| 26 | set out '$OUT' | ||
| 27 | replot | ||
| 28 | set out | ||
| 29 | EOM | ||
| 30 | |||
