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 /csv2graph | |
parent | 1fa1d31e516adc4c7e2c6f800b44d169a5d2d3ee (diff) |
remove some of the unneeded parts
Diffstat (limited to 'csv2graph')
-rwxr-xr-x | csv2graph | 23 |
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 | |||
3 | FILE=$1 | ||
4 | |||
5 | shift | ||
6 | |||
7 | if [ ! -f "$FILE" ] ; then | ||
8 | echo "Usage: csv2graph <csv file>" | ||
9 | fi | ||
10 | |||
11 | CUM=`mktemp` | ||
12 | DIST=`mktemp` | ||
13 | OUT=`echo $FILE | sed s/csv/png/` | ||
14 | |||
15 | analyze -adist -b1000 "$FILE" --csv -n -i $* > $DIST | ||
16 | analyze -adist -c -b1000 "$FILE" --csv -n -i $* > $CUM | ||
17 | |||
18 | if [ -s $CUM ] && [ -s $DIST ]; then | ||
19 | plot_dist $DIST $CUM $OUT "$FILE: $*" | ||
20 | rm $DIST $CUM | ||
21 | else | ||
22 | echo "$FILE: Empty." | ||
23 | fi | ||