aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/problem-creation-graph22
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