diff options
author | francis <francis> | 2008-04-11 11:03:13 +0000 |
---|---|---|
committer | francis <francis> | 2008-04-11 11:03:13 +0000 |
commit | 2a199b59acce1237ca1f9e06333c18430194c8ba (patch) | |
tree | 9a10d7e84a236f226e884fd64202621f7f01ebf8 | |
parent | 878b2dbfe7b36928bcbb995049ec1c45972c4d12 (diff) |
Fix problem-creation-graph
-rwxr-xr-x | bin/problem-creation-graph | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/bin/problem-creation-graph b/bin/problem-creation-graph index a62de24f7..668ab81d9 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.1 2008-04-11 11:00:17 francis Exp $ +# $Id: problem-creation-graph,v 1.2 2008-04-11 11:03:13 francis Exp $ GPLOT_OUTPUT="set terminal png font 'Vera.ttf' 9 size 1200,400" EXTENSION=".png" @@ -41,17 +41,17 @@ function grab_data { # rather nastily, work out the cumulative heights in reverse, so can plot impulses on top of each other grab_data "" $SOURCEA -grab_data "where status not in ('unconfirmed')" $SOURCEB -grab_data "where status not in ('unconfirmed', 'confirmed')" $SOURCEC -grab_data "where status not in ('unconfirmed', 'confirmed', 'fixed')" $SOURCED -grab_data "where status not in ('unconfirmed', 'confirmed', 'fixed', 'hidden')" $SOURCEE +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 -state = 'unconfirmed' -or state = 'confirmed' -or state = 'fixed' -or state = 'hidden' -or state = 'flickr' +#state = 'unconfirmed' +#or state = 'confirmed' +#or state = 'fixed' +#or state = 'hidden' +#or state = 'flickr' cat >$GPSCRIPT <<END @@ -88,6 +88,6 @@ END #echo "gpscript $GPSCRIPT" export GDFONTPATH=/usr/share/fonts/truetype/ttf-bitstream-vera -gnuplot < $GPSCRIPT > pet/web-admin/bci-live-creation$EXTENSION +gnuplot < $GPSCRIPT > bci/web/bci-live-creation$EXTENSION |