aboutsummaryrefslogtreecommitdiffstats
path: root/plot_dist
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@Serenity.local>2009-01-11 20:20:33 -0500
committerBjoern Brandenburg <bbb@Serenity.local>2009-01-11 20:20:33 -0500
commit6ccfe134d4bff05f457fc97d03f9f3692ab99adb (patch)
tree1a9bf1e8ef02a4c88bb5ff40c15a29f551cc6a23 /plot_dist
parent1fa1d31e516adc4c7e2c6f800b44d169a5d2d3ee (diff)
remove some of the unneeded parts
Diffstat (limited to 'plot_dist')
-rwxr-xr-xplot_dist30
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
3CSV1=$1
4CSV2=$2
5OUT=$3
6TITLE=$4
7
8if [ ! -f "$CSV1" ] || [ ! -f "$CSV2" ] ||
9 [ "" == "$OUT" ] ; then
10 echo "Usage: plot_dist <normal.csv> <cumulative.csv> <out.png> <title>"
11 exit 1
12fi
13
14gnuplot <<EOM
15set terminal png picsize 1024 768
16set out '/dev/null'
17plot '$CSV1' title 'distribution' with lines
18replot '$CSV2' title 'distribution (cumulative)' axes x1y2 with lines
19set ylabel 'probability'
20set y2label 'probability (cumulative)'
21set xlabel 'overhead (in us)'
22set y2tics
23set y2range [0.0:1.0]
24set title '$TITLE'
25set key top left
26set out '$OUT'
27replot
28set out
29EOM
30