diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-02-06 10:33:59 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-02-06 10:33:59 +0000 |
commit | 271e6219853c9017a4f91377e9ff56e54d5df801 (patch) | |
tree | e00514ddf1d8fa5abca0cd6db8250383b84980bf | |
parent | 33a6b10a375deeebc99de5dc5efe6360e04975c8 (diff) |
Update graph creation to spot other fixed states.
-rwxr-xr-x | bin/problem-creation-graph | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/problem-creation-graph b/bin/problem-creation-graph index b96d45540..2ee38783c 100755 --- a/bin/problem-creation-graph +++ b/bin/problem-creation-graph @@ -49,13 +49,13 @@ function grab_data { grab_data "" $SOURCEA grab_data "where state not in ('unconfirmed')" $SOURCEB grab_data "where state not in ('unconfirmed', 'confirmed')" $SOURCEC -grab_data "where state not in ('unconfirmed', 'confirmed', 'fixed')" $SOURCED -grab_data "where state not in ('unconfirmed', 'confirmed', 'fixed', 'hidden')" $SOURCEE +grab_data "where state not in ('unconfirmed', 'confirmed', 'fixed', 'fixed - council', 'fixed - user')" $SOURCED +grab_data "where state not in ('unconfirmed', 'confirmed', 'fixed', 'fixed - council', 'fixed - user', 'hidden')" $SOURCEE #state = 'unconfirmed' #or state = 'confirmed' -#or state = 'fixed' +#or state in ('fixed', 'fixed - council', 'fixed - user') #or state = 'hidden' #or state = 'partial' @@ -96,7 +96,7 @@ if [ -s $SOURCED ]; then echo -n >>$GPSCRIPT " \"$SOURCED\" using 1:2 with impulses lt 6 lw 15 title \"hidden\"," fi if [ -s $SOURCEE ]; then -echo -n >>$GPSCRIPT " \"$SOURCEE\" using 1:2 with impulses lt 7 lw 15 title \"partial (and any other types)\"," +echo -n >>$GPSCRIPT " \"$SOURCEE\" using 1:2 with impulses lt 7 lw 15 title \"any other type\"," fi cat >>$GPSCRIPT <<END "< 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" |