aboutsummaryrefslogtreecommitdiffstats
path: root/csv2graph
diff options
context:
space:
mode:
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