diff options
author | matthew <matthew> | 2008-10-09 14:20:53 +0000 |
---|---|---|
committer | matthew <matthew> | 2008-10-09 14:20:53 +0000 |
commit | 60dc3b2ddad999f628b777be27ee41100eb883c3 (patch) | |
tree | a0346d3e2b1488bcd547840dd3f86533aaf6a004 /bin/problem-creation-graph | |
parent | 75e9477815a8966b1ede2e4e5498575217d5ab27 (diff) |
Switch flickr state to partial, tidy up code, so soon other things can use it too.
Few text tweaks also, and other bits and bobs.
Diffstat (limited to 'bin/problem-creation-graph')
-rwxr-xr-x | bin/problem-creation-graph | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/problem-creation-graph b/bin/problem-creation-graph index b039b4256..6aabdecbd 100755 --- a/bin/problem-creation-graph +++ b/bin/problem-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: problem-creation-graph,v 1.3 2008-04-11 11:27:32 francis Exp $ +# $Id: problem-creation-graph,v 1.4 2008-10-09 14:20:53 matthew Exp $ GPLOT_OUTPUT="set terminal png font 'Vera.ttf' 9 size 1200,400" EXTENSION=".png" @@ -51,7 +51,7 @@ grab_data "where state not in ('unconfirmed', 'confirmed', 'fixed', 'hidden')" $ #or state = 'confirmed' #or state = 'fixed' #or state = 'hidden' -#or state = 'flickr' +#or state = 'partial' cat >$GPSCRIPT <<END @@ -82,7 +82,7 @@ cat >$GPSCRIPT <<END "$SOURCEB" using 1:2 with impulses lt 4 lw 15 title "confirmed",\ "$SOURCEC" using 1:2 with impulses lt 5 lw 15 title "fixed",\ "$SOURCED" using 1:2 with impulses lt 6 lw 15 title "hidden",\ - "$SOURCEE" using 1:2 with impulses lt 7 lw 15 title "flickr (and any other types)",\ + "$SOURCEE" using 1:2 with impulses lt 7 lw 15 title "partial (and any other types)",\ "< 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 problems" END #echo "gpscript $GPSCRIPT" |