aboutsummaryrefslogtreecommitdiffstats
path: root/script/request-creation-graph
diff options
context:
space:
mode:
authorfrancis <francis>2008-05-09 01:34:24 +0000
committerfrancis <francis>2008-05-09 01:34:24 +0000
commit6513d9eecefca2ce9f208e580515408acd81c9cc (patch)
tree097ad2171b8259b0db9b1a798a41aef70674d6e1 /script/request-creation-graph
parent60e7339c09176319c6125824fc80dd7ee28ba16e (diff)
Keep compatible with old gnuplot, sigh.
Diffstat (limited to 'script/request-creation-graph')
-rwxr-xr-xscript/request-creation-graph16
1 files changed, 8 insertions, 8 deletions
diff --git a/script/request-creation-graph b/script/request-creation-graph
index e1f917ada..7a6b4a383 100755
--- a/script/request-creation-graph
+++ b/script/request-creation-graph
@@ -5,7 +5,7 @@
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org. WWW: http://www.mysociety.org/
#
-# $Id: request-creation-graph,v 1.5 2008-05-09 01:22:42 francis Exp $
+# $Id: request-creation-graph,v 1.6 2008-05-09 01:34:24 francis Exp $
GPLOT_OUTPUT="set terminal png font 'Vera.ttf' 9 size 1200,400"
EXTENSION=".png"
@@ -87,13 +87,13 @@ cat >$GPSCRIPT <<END
# set label 1 'launch of beta' at '2005-02-17', 900
n = 0
- plot "$SOURCEA" using 1:2 with impulses lt rgb "#2020c0" lw 15 title "waiting_response",\
- "$SOURCEB" using 1:2 with impulses lt rgb "#0080ff" lw 15 title "waiting_clarification",\
- "$SOURCEC" using 1:2 with impulses lt rgb "#ffc020" lw 15 title "not_held",\
- "$SOURCED" using 1:2 with impulses lt rgb "#c04000" lw 15 title "rejected",\
- "$SOURCEE" using 1:2 with impulses lt rgb "#00ff00" lw 15 title "successful",\
- "$SOURCEF" using 1:2 with impulses lt rgb "#00c000" lw 15 title "partially_successful",\
- "$SOURCEG" using 1:2 with impulses lt rgb "#000000" lw 15 title "requires_admin",\
+ plot "$SOURCEA" using 1:2 with impulses lt 8 lw 15 title "waiting_response",\
+ "$SOURCEB" using 1:2 with impulses lt 3 lw 15 title "waiting_clarification",\
+ "$SOURCEC" using 1:2 with impulses lt 9 lw 15 title "not_held",\
+ "$SOURCED" using 1:2 with impulses lt 6 lw 15 title "rejected",\
+ "$SOURCEE" using 1:2 with impulses lt 2 lw 15 title "successful",\
+ "$SOURCEF" using 1:2 with impulses lt 10 lw 15 title "partially_successful",\
+ "$SOURCEG" using 1:2 with impulses lt 5 lw 15 title "requires_admin",\
"< awk 'BEGIN { n = 0 } { n += \$2; print \$1, \$2, n; }' $SOURCEA" using 1:3 axes x1y2 with lines lt 2 title "cumulative total number of requests"
END
#echo "gpscript $GPSCRIPT"