From 2a199b59acce1237ca1f9e06333c18430194c8ba Mon Sep 17 00:00:00 2001 From: francis Date: Fri, 11 Apr 2008 11:03:13 +0000 Subject: Fix problem-creation-graph --- bin/problem-creation-graph | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'bin/problem-creation-graph') 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 < pet/web-admin/bci-live-creation$EXTENSION +gnuplot < $GPSCRIPT > bci/web/bci-live-creation$EXTENSION -- cgit v1.2.3