diff options
author | francis <francis> | 2008-05-09 01:22:42 +0000 |
---|---|---|
committer | francis <francis> | 2008-05-09 01:22:42 +0000 |
commit | 60e7339c09176319c6125824fc80dd7ee28ba16e (patch) | |
tree | 4cc351b5ca4d45eecde35f0ce0ffaa336a16f9cb /script/request-creation-graph | |
parent | 80f4cb38e685e1239086150f4b269472426ae629 (diff) |
Better colours
Diffstat (limited to 'script/request-creation-graph')
-rwxr-xr-x | script/request-creation-graph | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/script/request-creation-graph b/script/request-creation-graph index 22be6dd12..e1f917ada 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.4 2008-05-09 01:12:47 francis Exp $ +# $Id: request-creation-graph,v 1.5 2008-05-09 01:22:42 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 3 lw 15 title "waiting_response",\ - "$SOURCEB" using 1:2 with impulses lt 4 lw 15 title "waiting_clarification",\ - "$SOURCEC" using 1:2 with impulses lt 5 lw 15 title "not_held",\ - "$SOURCED" using 1:2 with impulses lt 6 lw 15 title "rejected",\ - "$SOURCEE" using 1:2 with impulses lt 7 lw 15 title "successful",\ - "$SOURCEF" using 1:2 with impulses lt 8 lw 15 title "partially_successful",\ - "$SOURCEG" using 1:2 with impulses lt 9 lw 15 title "requires_admin",\ + 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",\ "< 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" |