aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2009-08-11 17:21:20 +0000
committerfrancis <francis>2009-08-11 17:21:20 +0000
commitb7e060461e986a5bedb4c018b44ae3f1f34d7f11 (patch)
tree233ce9a927a02f0edb9214bc950fe843ed8dfaab
parent68240170946145cd8e2e19ee63a7dcc5216002e6 (diff)
Size and line width tweaks.
-rwxr-xr-xscript/request-creation-graph27
1 files changed, 14 insertions, 13 deletions
diff --git a/script/request-creation-graph b/script/request-creation-graph
index b30850ec1..186626d7c 100755
--- a/script/request-creation-graph
+++ b/script/request-creation-graph
@@ -5,10 +5,11 @@
# 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.8 2009-08-11 16:56:23 francis Exp $
+# $Id: request-creation-graph,v 1.9 2009-08-11 17:21:20 francis Exp $
-GPLOT_OUTPUT="set terminal png font 'Vera.ttf' 9 size 1200,400"
+GPLOT_OUTPUT="set terminal png font 'Vera.ttf' 9 size 1600,600"
EXTENSION=".png"
+LW=4
#GPLOT_OUTPUT="set terminal fig color big thickness 1"
#EXTENSION=".fig"
#GPLOT_OUTPUT="set terminal svg size 800 250"
@@ -88,17 +89,17 @@ cat >$GPSCRIPT <<END
# set label 1 'launch of beta' at '2005-02-17', 900
n = 0
- 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", \
- "$SOURCEH" using 1:2 with impulses lt 7 lw 15 title "gone_postal", \
- "$SOURCEI" using 1:2 with impulses lt 4 lw 15 title "internal_review", \
- "$SOURCEJ" using 1:2 with impulses lt 12 lw 15 title "error_message", \
- "$SOURCEK" using 1:2 with impulses lt 13 lw 15 title "user_withdrawn", \
+ plot "$SOURCEA" using 1:2 with impulses lt 8 lw $LW title "waiting_response", \
+ "$SOURCEB" using 1:2 with impulses lt 3 lw $LW title "waiting_clarification", \
+ "$SOURCEC" using 1:2 with impulses lt 9 lw $LW title "not_held", \
+ "$SOURCED" using 1:2 with impulses lt 6 lw $LW title "rejected", \
+ "$SOURCEE" using 1:2 with impulses lt 2 lw $LW title "successful", \
+ "$SOURCEF" using 1:2 with impulses lt 10 lw $LW title "partially_successful", \
+ "$SOURCEG" using 1:2 with impulses lt 5 lw $LW title "requires_admin", \
+ "$SOURCEH" using 1:2 with impulses lt 7 lw $LW title "gone_postal", \
+ "$SOURCEI" using 1:2 with impulses lt 4 lw $LW title "internal_review", \
+ "$SOURCEJ" using 1:2 with impulses lt 12 lw $LW title "error_message", \
+ "$SOURCEK" using 1:2 with impulses lt 13 lw $LW title "user_withdrawn", \
"< 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
# lt 8 dark blue