aboutsummaryrefslogtreecommitdiffstats
path: root/csv2graph
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 /csv2graph
parent1fa1d31e516adc4c7e2c6f800b44d169a5d2d3ee (diff)
remove some of the unneeded parts
Diffstat (limited to 'csv2graph')
-rwxr-xr-xcsv2graph23
1 files changed, 0 insertions, 23 deletions
diff --git a/csv2graph b/csv2graph
deleted file mode 100755
index 8f7d795..0000000
--- a/csv2graph
+++ /dev/null
@@ -1,23 +0,0 @@
1#!/bin/bash
2
3FILE=$1
4
5shift
6
7if [ ! -f "$FILE" ] ; then
8 echo "Usage: csv2graph <csv file>"
9fi
10
11CUM=`mktemp`
12DIST=`mktemp`
13OUT=`echo $FILE | sed s/csv/png/`
14
15analyze -adist -b1000 "$FILE" --csv -n -i $* > $DIST
16analyze -adist -c -b1000 "$FILE" --csv -n -i $* > $CUM
17
18if [ -s $CUM ] && [ -s $DIST ]; then
19 plot_dist $DIST $CUM $OUT "$FILE: $*"
20 rm $DIST $CUM
21else
22 echo "$FILE: Empty."
23fi