Jump to content

File:UKGeneralElection2015Polls.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 576 × 348 pixels, file size: 66 KB)

Summary

Description
English: Graph of opinion polls for the 2015 UK General Election, created from data at Opinion polling in the next United Kingdom general election.
Date
Source Own work
Author Thebrid
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import matplotlib.pyplot as plt
from pylab import *
import datetime

# Define a result class so we can store results nicely
 
class Result(object):
  def __init__(self, date, conservative, labour, liberalDemocrat, UKIndependenceParty, other):
    self.date                 = date
    self.conservative         = conservative
    self.labour               = labour
    self.liberalDemocrat      = liberalDemocrat
    self.ukindependenceparty  = ukindependenceparty
    self.other                = other
	
rc('font', family='sans-serif')
rc('figure', figsize=(11.75,5))

           
results = [           Result(datetime.date(2010,5,13), 0.38,0.34,0.21,0.07),
           Result(datetime.date(2010,5,14), 0.37,0.34,0.21,0.08),
           Result(datetime.date(2010,5,21), 0.39,0.32,0.21,0.07),
           Result(datetime.date(2010,5,23), 0.39,0.32,0.21,0.08),
           Result(datetime.date(2010,5,31), 0.37,0.33,0.21,0.09),
           Result(datetime.date(2010,6,9), 0.36,0.3,0.25,0.09),
           Result(datetime.date(2010,6,11), 0.39,0.32,0.19,0.1),
           Result(datetime.date(2010,6,11), 0.4,0.32,0.18,0.09),
           Result(datetime.date(2010,6,17), 0.36,0.3,0.23,0.11),
           Result(datetime.date(2010,6,18), 0.39,0.34,0.19,0.08),
           Result(datetime.date(2010,6,20), 0.39,0.31,0.19,0.12),
           Result(datetime.date(2010,6,20), 0.39,0.31,0.21,0.08),
           Result(datetime.date(2010,6,21), 0.41,0.33,0.18,0.07),
           Result(datetime.date(2010,6,22), 0.41,0.37,0.15,0.07),
           Result(datetime.date(2010,6,23), 0.39,0.33,0.18,0.09),
           Result(datetime.date(2010,6,23), 0.42,0.34,0.17,0.07),
           Result(datetime.date(2010,6,24), 0.41,0.35,0.16,0.07),
           Result(datetime.date(2010,6,25), 0.43,0.36,0.16,0.06),
           Result(datetime.date(2010,6,27), 0.4,0.31,0.18,0.11),
           Result(datetime.date(2010,7,5), 0.4,0.36,0.16,0.08),
           Result(datetime.date(2010,7,6), 0.41,0.35,0.16,0.09),
           Result(datetime.date(2010,7,6), 0.41,0.36,0.15,0.09),
           Result(datetime.date(2010,7,7), 0.4,0.36,0.17,0.07),
           Result(datetime.date(2010,7,8), 0.42,0.35,0.16,0.07),
           Result(datetime.date(2010,7,9), 0.42,0.34,0.17,0.07),
           Result(datetime.date(2010,7,12), 0.42,0.35,0.15,0.09),
           Result(datetime.date(2010,7,13), 0.42,0.35,0.15,0.08),
           Result(datetime.date(2010,7,14), 0.43,0.34,0.15,0.08),
           Result(datetime.date(2010,7,15), 0.43,0.34,0.15,0.08),
           Result(datetime.date(2010,7,16), 0.4,0.37,0.15,0.07),
           Result(datetime.date(2010,7,19), 0.42,0.35,0.15,0.08),
           Result(datetime.date(2010,7,20), 0.43,0.35,0.14,0.08),
           Result(datetime.date(2010,7,21), 0.44,0.35,0.13,0.07),
           Result(datetime.date(2010,7,22), 0.43,0.35,0.15,0.07),
           Result(datetime.date(2010,7,23), 0.41,0.36,0.14,0.09),
           Result(datetime.date(2010,7,25), 0.38,0.34,0.19,0.08),
           Result(datetime.date(2010,7,25), 0.4,0.38,0.14,0.08),
           Result(datetime.date(2010,7,26), 0.42,0.35,0.15,0.08),
           Result(datetime.date(2010,7,27), 0.42,0.37,0.14,0.07),
           Result(datetime.date(2010,7,28), 0.42,0.36,0.14,0.08),
           Result(datetime.date(2010,7,30), 0.42,0.38,0.12,0.07),
           Result(datetime.date(2010,8,2), 0.42,0.38,0.12,0.08),
           Result(datetime.date(2010,8,3), 0.41,0.36,0.13,0.09),
           Result(datetime.date(2010,8,4), 0.42,0.36,0.13,0.09),
           Result(datetime.date(2010,8,6), 0.42,0.36,0.13,0.08),
           Result(datetime.date(2010,8,8), 0.39,0.33,0.16,0.13),
           Result(datetime.date(2010,8,9), 0.4,0.36,0.15,0.09),
           Result(datetime.date(2010,8,10), 0.42,0.38,0.14,0.07),
           Result(datetime.date(2010,8,11), 0.41,0.37,0.15,0.08),
           Result(datetime.date(2010,8,12), 0.42,0.37,0.14,0.08),
           Result(datetime.date(2010,8,13), 0.42,0.37,0.13,0.07),
           Result(datetime.date(2010,8,15), 0.37,0.37,0.18,0.08),
           Result(datetime.date(2010,8,15), 0.39,0.33,0.15,0.13),
           Result(datetime.date(2010,8,16), 0.41,0.37,0.15,0.08),
           Result(datetime.date(2010,8,17), 0.42,0.37,0.14,0.08),
           Result(datetime.date(2010,8,18), 0.44,0.36,0.12,0.07),
           Result(datetime.date(2010,8,19), 0.41,0.37,0.14,0.08),
           Result(datetime.date(2010,8,20), 0.41,0.38,0.12,0.08),
           Result(datetime.date(2010,8,23), 0.41,0.39,0.12,0.09),
           Result(datetime.date(2010,8,24), 0.41,0.38,0.13,0.08),
           Result(datetime.date(2010,8,25), 0.42,0.37,0.12,0.08),
           Result(datetime.date(2010,8,26), 0.42,0.37,0.12,0.09),
           Result(datetime.date(2010,8,27), 0.41,0.37,0.13,0.08),
           Result(datetime.date(2010,8,31), 0.43,0.38,0.11,0.08),
           Result(datetime.date(2010,9,1), 0.43,0.37,0.12,0.08),
           Result(datetime.date(2010,9,3), 0.42,0.37,0.12,0.09),
           Result(datetime.date(2010,9,5), 0.38,0.34,0.18,0.1),
           Result(datetime.date(2010,9,6), 0.42,0.37,0.13,0.08),
           Result(datetime.date(2010,9,7), 0.42,0.38,0.13,0.08),
           Result(datetime.date(2010,9,8), 0.43,0.38,0.12,0.07),
           Result(datetime.date(2010,9,9), 0.42,0.37,0.14,0.08),
           Result(datetime.date(2010,9,10), 0.42,0.38,0.14,0.06),
           Result(datetime.date(2010,9,12), 0.37,0.37,0.15,0.11),
           Result(datetime.date(2010,9,12), 0.39,0.37,0.14,0.1),
           Result(datetime.date(2010,9,13), 0.41,0.38,0.12,0.09),
           Result(datetime.date(2010,9,14), 0.4,0.39,0.12,0.09),
           Result(datetime.date(2010,9,15), 0.42,0.39,0.12,0.07),
           Result(datetime.date(2010,9,16), 0.37,0.35,0.15,0.13),
           Result(datetime.date(2010,9,16), 0.41,0.38,0.12,0.09),
           Result(datetime.date(2010,9,17), 0.41,0.39,0.13,0.07),
           Result(datetime.date(2010,9,20), 0.42,0.38,0.11,0.08),
           Result(datetime.date(2010,9,21), 0.39,0.39,0.13,0.08),
           Result(datetime.date(2010,9,22), 0.43,0.36,0.14,0.07),
           Result(datetime.date(2010,9,23), 0.41,0.37,0.13,0.08),
           Result(datetime.date(2010,9,24), 0.39,0.38,0.15,0.09),
           Result(datetime.date(2010,9,27), 0.39,0.4,0.12,0.09),
           Result(datetime.date(2010,9,28), 0.41,0.4,0.12,0.08),
           Result(datetime.date(2010,9,29), 0.35,0.37,0.18,0.1),
           Result(datetime.date(2010,9,29), 0.41,0.39,0.12,0.09),
           Result(datetime.date(2010,9,30), 0.41,0.39,0.12,0.08),
           Result(datetime.date(2010,10,1), 0.39,0.36,0.15,0.1),
           Result(datetime.date(2010,10,1), 0.35,0.38,0.16,0.11),
           Result(datetime.date(2010,10,1), 0.39,0.41,0.11,0.08),
           Result(datetime.date(2010,10,1), 0.41,0.37,0.13,0.09),
           Result(datetime.date(2010,10,4), 0.41,0.39,0.12,0.08),
           Result(datetime.date(2010,10,5), 0.43,0.39,0.11,0.07),
           Result(datetime.date(2010,10,6), 0.42,0.4,0.11,0.07),
           Result(datetime.date(2010,10,7), 0.42,0.38,0.12,0.08),
           Result(datetime.date(2010,10,8), 0.42,0.38,0.12,0.08),
           Result(datetime.date(2010,10,11), 0.42,0.38,0.12,0.08),
           Result(datetime.date(2010,10,12), 0.43,0.36,0.12,0.08),
           Result(datetime.date(2010,10,13), 0.41,0.4,0.11,0.08),
           Result(datetime.date(2010,10,14), 0.42,0.38,0.12,0.08),
           Result(datetime.date(2010,10,15), 0.4,0.34,0.14,0.12),
           Result(datetime.date(2010,10,15), 0.41,0.39,0.11,0.09),
           Result(datetime.date(2010,10,17), 0.39,0.36,0.14,0.11),
           Result(datetime.date(2010,10,18), 0.41,0.39,0.12,0.07),
           Result(datetime.date(2010,10,19), 0.42,0.39,0.11,0.08),
           Result(datetime.date(2010,10,20), 0.41,0.39,0.11,0.09),
           Result(datetime.date(2010,10,21), 0.41,0.4,0.1,0.09),
           Result(datetime.date(2010,10,22), 0.35,0.37,0.1,0.18),
           Result(datetime.date(2010,10,22), 0.4,0.36,0.16,0.09),
           Result(datetime.date(2010,10,22), 0.41,0.4,0.1,0.09),
           Result(datetime.date(2010,10,24), 0.37,0.38,0.15,0.1),
           Result(datetime.date(2010,10,24), 0.39,0.36,0.16,0.09),
           Result(datetime.date(2010,10,25), 0.4,0.4,0.11,0.09),
           Result(datetime.date(2010,10,26), 0.4,0.38,0.12,0.09),
           Result(datetime.date(2010,10,27), 0.41,0.39,0.12,0.08),
           Result(datetime.date(2010,10,28), 0.35,0.37,0.15,0.12),
           Result(datetime.date(2010,10,28), 0.41,0.39,0.11,0.09),
           Result(datetime.date(2010,10,29), 0.42,0.37,0.13,0.08),
           Result(datetime.date(2010,10,30), 0.35,0.37,0.16,0.12),
           Result(datetime.date(2010,11,1), 0.41,0.39,0.11,0.09),
           Result(datetime.date(2010,11,2), 0.41,0.4,0.11,0.08),
           Result(datetime.date(2010,11,3), 0.4,0.4,0.09,0.1),
           Result(datetime.date(2010,11,4), 0.4,0.39,0.11,0.1),
           Result(datetime.date(2010,11,5), 0.4,0.39,0.12,0.1),
           Result(datetime.date(2010,11,8), 0.42,0.39,0.11,0.09),
           Result(datetime.date(2010,11,9), 0.4,0.39,0.13,0.08),
           Result(datetime.date(2010,11,10), 0.42,0.37,0.11,0.1),
           Result(datetime.date(2010,11,11), 0.4,0.4,0.1,0.1),
           Result(datetime.date(2010,11,12), 0.39,0.41,0.1,0.09),
           Result(datetime.date(2010,11,14), 0.36,0.39,0.14,0.11),
           Result(datetime.date(2010,11,15), 0.4,0.42,0.1,0.08),
           Result(datetime.date(2010,11,16), 0.37,0.42,0.1,0.1),
           Result(datetime.date(2010,11,17), 0.4,0.4,0.11,0.1),
           Result(datetime.date(2010,11,18), 0.4,0.4,0.11,0.09),
           Result(datetime.date(2010,11,19), 0.37,0.38,0.13,0.12),
           Result(datetime.date(2010,11,19), 0.4,0.38,0.11,0.11),
           Result(datetime.date(2010,11,21), 0.36,0.38,0.14,0.12),
           Result(datetime.date(2010,11,22), 0.41,0.38,0.11,0.1),
           Result(datetime.date(2010,11,23), 0.42,0.4,0.1,0.09),
           Result(datetime.date(2010,11,24), 0.4,0.4,0.09,0.11),
           Result(datetime.date(2010,11,25), 0.42,0.39,0.1,0.09),
           Result(datetime.date(2010,11,26), 0.4,0.4,0.09,0.11),
           Result(datetime.date(2010,11,29), 0.36,0.4,0.12,0.12),
           Result(datetime.date(2010,11,29), 0.4,0.4,0.1,0.1),
           Result(datetime.date(2010,11,30), 0.35,0.4,0.13,0.12),
           Result(datetime.date(2010,11,30), 0.4,0.4,0.1,0.1),
           Result(datetime.date(2010,12,1), 0.41,0.38,0.11,0.1),
           Result(datetime.date(2010,12,2), 0.4,0.4,0.11,0.09),
           Result(datetime.date(2010,12,3), 0.41,0.39,0.1,0.1),
           Result(datetime.date(2010,12,6), 0.42,0.39,0.1,0.09),
           Result(datetime.date(2010,12,7), 0.42,0.39,0.09,0.1),
           Result(datetime.date(2010,12,8), 0.41,0.41,0.08,0.1),
           Result(datetime.date(2010,12,9), 0.41,0.39,0.11,0.09),
           Result(datetime.date(2010,12,10), 0.4,0.42,0.09,0.1),
           Result(datetime.date(2010,12,12), 0.38,0.39,0.11,0.14),
           Result(datetime.date(2010,12,13), 0.41,0.42,0.09,0.08),
           Result(datetime.date(2010,12,14), 0.39,0.42,0.09,0.09),
           Result(datetime.date(2010,12,15), 0.42,0.4,0.08,0.09),
           Result(datetime.date(2010,12,16), 0.37,0.39,0.11,0.13),
           Result(datetime.date(2010,12,16), 0.41,0.41,0.09,0.1),
           Result(datetime.date(2010,12,17), 0.39,0.42,0.09,0.1),
           Result(datetime.date(2010,12,19), 0.37,0.39,0.13,0.11),
           Result(datetime.date(2010,12,20), 0.35,0.41,0.09,0.15),
           Result(datetime.date(2010,12,20), 0.4,0.43,0.08,0.09),
           Result(datetime.date(2010,12,21), 0.4,0.42,0.09,0.09),
           Result(datetime.date(2010,12,22), 0.41,0.42,0.08,0.1),
           Result(datetime.date(2010,12,23), 0.39,0.41,0.09,0.11),
           Result(datetime.date(2011,1,4), 0.4,0.42,0.08,0.1),
           Result(datetime.date(2011,1,5), 0.4,0.41,0.1,0.09),
           Result(datetime.date(2011,1,6), 0.39,0.43,0.07,0.1),
           Result(datetime.date(2011,1,7), 0.35,0.4,0.12,0.13),
           Result(datetime.date(2011,1,7), 0.38,0.41,0.1,0.11),
           Result(datetime.date(2011,1,9), 0.34,0.42,0.12,0.12),
           Result(datetime.date(2011,1,10), 0.4,0.43,0.08,0.09),
           Result(datetime.date(2011,1,11), 0.4,0.41,0.07,0.12),
           Result(datetime.date(2011,1,12), 0.36,0.43,0.09,0.11),
           Result(datetime.date(2011,1,13), 0.36,0.4,0.1,0.14),
           Result(datetime.date(2011,1,13), 0.41,0.41,0.08,0.11),
           Result(datetime.date(2011,1,14), 0.37,0.43,0.09,0.11),
           Result(datetime.date(2011,1,17), 0.37,0.42,0.09,0.11),
           Result(datetime.date(2011,1,18), 0.39,0.44,0.08,0.09),
           Result(datetime.date(2011,1,19), 0.37,0.42,0.09,0.11),
           Result(datetime.date(2011,1,20), 0.36,0.43,0.1,0.11),
           Result(datetime.date(2011,1,21), 0.39,0.43,0.09,0.1),
           Result(datetime.date(2011,1,23), 0.35,0.39,0.15,0.1),
           Result(datetime.date(2011,1,24), 0.33,0.43,0.13,0.11),
           Result(datetime.date(2011,1,24), 0.37,0.42,0.11,0.11),
           Result(datetime.date(2011,1,25), 0.37,0.43,0.1,0.1),
           Result(datetime.date(2011,1,26), 0.33,0.41,0.12,0.15),
           Result(datetime.date(2011,1,26), 0.39,0.41,0.1,0.11),
           Result(datetime.date(2011,1,27), 0.38,0.44,0.08,0.1),
           Result(datetime.date(2011,1,28), 0.32,0.43,0.11,0.14),
           Result(datetime.date(2011,1,28), 0.39,0.43,0.08,0.1),
           Result(datetime.date(2011,1,30), 0.34,0.43,0.1,0.13),
           Result(datetime.date(2011,1,31), 0.4,0.42,0.08,0.11),
           Result(datetime.date(2011,2,1), 0.39,0.44,0.08,0.1),
           Result(datetime.date(2011,2,2), 0.36,0.44,0.09,0.1),
           Result(datetime.date(2011,2,4), 0.36,0.42,0.1,0.11),
           Result(datetime.date(2011,2,6), 0.36,0.39,0.11,0.14),
           Result(datetime.date(2011,2,7), 0.37,0.43,0.09,0.1),
           Result(datetime.date(2011,2,8), 0.35,0.43,0.1,0.1),
           Result(datetime.date(2011,2,9), 0.36,0.43,0.1,0.11),
           Result(datetime.date(2011,2,10), 0.34,0.4,0.11,0.15),
           Result(datetime.date(2011,2,10), 0.35,0.44,0.1,0.12),
           Result(datetime.date(2011,2,10), 0.36,0.42,0.11,0.11),
           Result(datetime.date(2011,2,11), 0.35,0.45,0.09,0.11),
           Result(datetime.date(2011,2,14), 0.36,0.44,0.1,0.1),
           Result(datetime.date(2011,2,15), 0.37,0.44,0.1,0.1),
           Result(datetime.date(2011,2,16), 0.35,0.45,0.1,0.1),
           Result(datetime.date(2011,2,17), 0.36,0.42,0.1,0.11),
           Result(datetime.date(2011,2,18), 0.37,0.41,0.1,0.11),
           Result(datetime.date(2011,2,20), 0.33,0.43,0.13,0.11),
           Result(datetime.date(2011,2,20), 0.35,0.38,0.18,0.09),
           Result(datetime.date(2011,2,21), 0.36,0.42,0.11,0.11),
           Result(datetime.date(2011,2,22), 0.37,0.43,0.09,0.11),
           Result(datetime.date(2011,2,23), 0.36,0.44,0.11,0.09),
           Result(datetime.date(2011,2,24), 0.38,0.42,0.1,0.1),
           Result(datetime.date(2011,2,25), 0.36,0.44,0.1,0.1),
           Result(datetime.date(2011,2,27), 0.35,0.39,0.12,0.14),
           Result(datetime.date(2011,2,28), 0.36,0.43,0.1,0.11),
           Result(datetime.date(2011,3,1), 0.34,0.43,0.11,0.12),
           Result(datetime.date(2011,3,2), 0.36,0.41,0.11,0.12),
           Result(datetime.date(2011,3,4), 0.33,0.41,0.1,0.15),
           Result(datetime.date(2011,3,4), 0.35,0.43,0.1,0.12),
           Result(datetime.date(2011,3,6), 0.35,0.41,0.11,0.14),
           Result(datetime.date(2011,3,7), 0.36,0.42,0.09,0.13),
           Result(datetime.date(2011,3,8), 0.36,0.44,0.1,0.11),
           Result(datetime.date(2011,3,9), 0.36,0.42,0.09,0.14),
           Result(datetime.date(2011,3,10), 0.34,0.45,0.09,0.12),
           Result(datetime.date(2011,3,11), 0.33,0.44,0.1,0.13),
           Result(datetime.date(2011,3,13), 0.37,0.41,0.1,0.12),
           Result(datetime.date(2011,3,14), 0.35,0.44,0.09,0.12),
           Result(datetime.date(2011,3,15), 0.35,0.45,0.09,0.11),
           Result(datetime.date(2011,3,16), 0.35,0.43,0.1,0.12),
           Result(datetime.date(2011,3,17), 0.35,0.43,0.1,0.12),
           Result(datetime.date(2011,3,18), 0.37,0.43,0.09,0.11),
           Result(datetime.date(2011,3,21), 0.32,0.41,0.1,0.18),
           Result(datetime.date(2011,3,22), 0.35,0.42,0.09,0.14),
           Result(datetime.date(2011,3,23), 0.36,0.42,0.1,0.11),
           Result(datetime.date(2011,3,24), 0.37,0.36,0.16,0.11),
           Result(datetime.date(2011,3,24), 0.37,0.41,0.11,0.11),
           Result(datetime.date(2011,3,25), 0.38,0.41,0.11,0.1),
           Result(datetime.date(2011,3,27), 0.35,0.41,0.13,0.11),
           Result(datetime.date(2011,3,28), 0.36,0.44,0.09,0.11),
           Result(datetime.date(2011,3,29), 0.36,0.42,0.1,0.11),
           Result(datetime.date(2011,3,30), 0.35,0.45,0.09,0.11),
           Result(datetime.date(2011,3,31), 0.35,0.42,0.1,0.13),
           Result(datetime.date(2011,4,1), 0.36,0.42,0.11,0.11),
           Result(datetime.date(2011,4,4), 0.37,0.42,0.09,0.11),
           Result(datetime.date(2011,4,5), 0.37,0.42,0.09,0.12),
           Result(datetime.date(2011,4,6), 0.36,0.42,0.1,0.12),
           Result(datetime.date(2011,4,7), 0.35,0.44,0.1,0.11),
           Result(datetime.date(2011,4,8), 0.36,0.43,0.09,0.12),
           Result(datetime.date(2011,4,10), 0.36,0.4,0.11,0.14),
           Result(datetime.date(2011,4,11), 0.36,0.42,0.1,0.12),
           Result(datetime.date(2011,4,11), 0.31,0.42,0.11,0.17),
           Result(datetime.date(2011,4,12), 0.37,0.42,0.09,0.11),
           Result(datetime.date(2011,4,13), 0.35,0.44,0.1,0.12),
           Result(datetime.date(2011,4,14), 0.36,0.42,0.1,0.12),
           Result(datetime.date(2011,4,15), 0.37,0.41,0.09,0.12),
           Result(datetime.date(2011,4,17), 0.4,0.4,0.09,0.11),
           Result(datetime.date(2011,4,18), 0.36,0.42,0.09,0.12),
           Result(datetime.date(2011,4,19), 0.36,0.43,0.09,0.12),
           Result(datetime.date(2011,4,20), 0.36,0.43,0.09,0.12),
           Result(datetime.date(2011,4,21), 0.36,0.42,0.1,0.12),
           Result(datetime.date(2011,4,26), 0.36,0.41,0.1,0.13),
           Result(datetime.date(2011,4,27), 0.36,0.42,0.1,0.12),
           Result(datetime.date(2011,4,28), 0.36,0.41,0.12,0.12),
           Result(datetime.date(2011,5,3), 0.37,0.42,0.1,0.11),
           Result(datetime.date(2011,5,4), 0.36,0.4,0.11,0.14),
           Result(datetime.date(2011,5,5), 0.37,0.39,0.1,0.13),
           Result(datetime.date(2011,5,6), 0.36,0.41,0.1,0.12),
           Result(datetime.date(2011,5,8), 0.37,0.39,0.11,0.13),
           Result(datetime.date(2011,5,9), 0.35,0.38,0.09,0.19),
           Result(datetime.date(2011,5,9), 0.38,0.42,0.08,0.12),
           Result(datetime.date(2011,5,10), 0.38,0.4,0.09,0.13),
           Result(datetime.date(2011,5,13), 0.36,0.41,0.09,0.13),
           Result(datetime.date(2011,5,16), 0.38,0.41,0.1,0.12),
           Result(datetime.date(2011,5,17), 0.39,0.41,0.09,0.12),
           Result(datetime.date(2011,5,18), 0.36,0.42,0.09,0.13),
           Result(datetime.date(2011,5,19), 0.38,0.4,0.1,0.12),
           Result(datetime.date(2011,5,20), 0.37,0.42,0.08,0.13),
           Result(datetime.date(2011,5,23), 0.38,0.42,0.1,0.1),
           Result(datetime.date(2011,5,24), 0.35,0.42,0.1,0.14),
           Result(datetime.date(2011,5,24), 0.38,0.42,0.09,0.11),
           Result(datetime.date(2011,5,25), 0.37,0.41,0.1,0.12),
           Result(datetime.date(2011,5,26), 0.37,0.43,0.08,0.12),
           Result(datetime.date(2011,5,27), 0.37,0.43,0.09,0.12),
           Result(datetime.date(2011,5,29), 0.37,0.37,0.12,0.14),
           Result(datetime.date(2011,5,31), 0.37,0.42,0.09,0.12),
           Result(datetime.date(2011,6,1), 0.39,0.41,0.09,0.12),
           Result(datetime.date(2011,6,2), 0.36,0.42,0.09,0.13),
           Result(datetime.date(2011,6,3), 0.37,0.42,0.09,0.12),
           Result(datetime.date(2011,6,6), 0.37,0.43,0.09,0.12),
           Result(datetime.date(2011,6,7), 0.36,0.44,0.08,0.12),
           Result(datetime.date(2011,6,8), 0.37,0.42,0.09,0.12),
           Result(datetime.date(2011,6,9), 0.37,0.43,0.08,0.12),
           Result(datetime.date(2011,6,10), 0.37,0.42,0.09,0.12),
           Result(datetime.date(2011,6,11), 0.39,0.4,0.09,0.11),
           Result(datetime.date(2011,6,13), 0.37,0.42,0.1,0.11),
           Result(datetime.date(2011,6,14), 0.37,0.42,0.1,0.11),
           Result(datetime.date(2011,6,15), 0.36,0.42,0.09,0.12),
           Result(datetime.date(2011,6,16), 0.37,0.37,0.11,0.15),
           Result(datetime.date(2011,6,16), 0.37,0.43,0.09,0.11),
           Result(datetime.date(2011,6,17), 0.37,0.42,0.1,0.11),
           Result(datetime.date(2011,6,19), 0.37,0.39,0.12,0.12),
           Result(datetime.date(2011,6,20), 0.37,0.43,0.09,0.11),
           Result(datetime.date(2011,6,21), 0.37,0.42,0.08,0.13),
           Result(datetime.date(2011,6,22), 0.36,0.42,0.09,0.13),
           Result(datetime.date(2011,6,23), 0.37,0.42,0.09,0.12),
           Result(datetime.date(2011,6,24), 0.36,0.43,0.09,0.12),
           Result(datetime.date(2011,6,26), 0.36,0.4,0.11,0.13),
           Result(datetime.date(2011,6,27), 0.37,0.42,0.1,0.11),
           Result(datetime.date(2011,6,28), 0.36,0.43,0.08,0.12),
           Result(datetime.date(2011,6,29), 0.37,0.41,0.1,0.12),
           Result(datetime.date(2011,6,30), 0.37,0.42,0.08,0.14),
           Result(datetime.date(2011,7,1), 0.36,0.42,0.09,0.13),
           Result(datetime.date(2011,7,4), 0.37,0.43,0.09,0.12),
           Result(datetime.date(2011,7,5), 0.35,0.43,0.1,0.12),
           Result(datetime.date(2011,7,6), 0.35,0.43,0.09,0.13),
           Result(datetime.date(2011,7,7), 0.37,0.43,0.08,0.12),
           Result(datetime.date(2011,7,8), 0.35,0.44,0.08,0.13),
           Result(datetime.date(2011,7,11), 0.35,0.43,0.1,0.12),
           Result(datetime.date(2011,7,12), 0.37,0.42,0.09,0.12),
           Result(datetime.date(2011,7,13), 0.35,0.43,0.1,0.12),
           Result(datetime.date(2011,7,14), 0.36,0.4,0.1,0.14),
           Result(datetime.date(2011,7,14), 0.36,0.43,0.09,0.11),
           Result(datetime.date(2011,7,15), 0.36,0.42,0.11,0.11),
           Result(datetime.date(2011,7,17), 0.37,0.36,0.16,0.11),
           Result(datetime.date(2011,7,18), 0.32,0.39,0.11,0.18),
           Result(datetime.date(2011,7,18), 0.37,0.42,0.09,0.12),
           Result(datetime.date(2011,7,19), 0.36,0.43,0.08,0.13),
           Result(datetime.date(2011,7,20), 0.34,0.41,0.1,0.16),
           Result(datetime.date(2011,7,20), 0.35,0.43,0.11,0.11),
           Result(datetime.date(2011,7,21), 0.36,0.44,0.09,0.12),
           Result(datetime.date(2011,7,22), 0.35,0.43,0.1,0.12),
           Result(datetime.date(2011,7,24), 0.34,0.4,0.13,0.13),
           Result(datetime.date(2011,7,25), 0.37,0.41,0.1,0.12),
           Result(datetime.date(2011,7,26), 0.35,0.44,0.09,0.12),
           Result(datetime.date(2011,7,27), 0.36,0.43,0.08,0.13),
           Result(datetime.date(2011,7,28), 0.36,0.42,0.11,0.11),
           Result(datetime.date(2011,7,29), 0.35,0.44,0.1,0.12),
           Result(datetime.date(2011,8,1), 0.35,0.42,0.11,0.12),
           Result(datetime.date(2011,8,2), 0.36,0.45,0.08,0.11),
           Result(datetime.date(2011,8,3), 0.35,0.43,0.1,0.11),
           Result(datetime.date(2011,8,4), 0.36,0.42,0.1,0.12),
           Result(datetime.date(2011,8,5), 0.35,0.44,0.09,0.12),
           Result(datetime.date(2011,8,8), 0.36,0.44,0.09,0.12),
           Result(datetime.date(2011,8,9), 0.36,0.43,0.09,0.13),
           Result(datetime.date(2011,8,10), 0.36,0.43,0.09,0.13),
           Result(datetime.date(2011,8,11), 0.35,0.43,0.09,0.13),
           Result(datetime.date(2011,8,11), 0.34,0.38,0.09,0.19),
           Result(datetime.date(2011,8,12), 0.36,0.43,0.09,0.11),
           Result(datetime.date(2011,8,15), 0.35,0.43,0.09,0.13),
           Result(datetime.date(2011,8,16), 0.36,0.42,0.1,0.12),
           Result(datetime.date(2011,8,17), 0.35,0.44,0.09,0.12),
           Result(datetime.date(2011,8,18), 0.36,0.44,0.09,0.12),
           Result(datetime.date(2011,8,18), 0.38,0.4,0.11,0.11),
           Result(datetime.date(2011,8,19), 0.37,0.38,0.09,0.17),
           Result(datetime.date(2011,8,19), 0.36,0.4,0.11,0.13),
           Result(datetime.date(2011,8,21), 0.37,0.36,0.17,0.1),
           Result(datetime.date(2011,8,22), 0.34,0.4,0.15,0.11),
           Result(datetime.date(2011,8,22), 0.35,0.44,0.09,0.12),
           Result(datetime.date(2011,8,23), 0.37,0.44,0.09,0.1),
           Result(datetime.date(2011,8,24), 0.36,0.43,0.09,0.13),
           Result(datetime.date(2011,8,25), 0.37,0.42,0.09,0.12),
           Result(datetime.date(2011,8,26), 0.38,0.41,0.09,0.13),
           Result(datetime.date(2011,8,30), 0.39,0.4,0.1,0.11),
           Result(datetime.date(2011,8,31), 0.37,0.42,0.1,0.12),
           Result(datetime.date(2011,9,1), 0.36,0.42,0.1,0.12),
           Result(datetime.date(2011,9,2), 0.33,0.39,0.11,0.16),
           Result(datetime.date(2011,9,2), 0.38,0.39,0.1,0.13),
           Result(datetime.date(2011,9,4), 0.37,0.38,0.11,0.14),
           Result(datetime.date(2011,9,5), 0.36,0.37,0.09,0.18),
           Result(datetime.date(2011,9,5), 0.37,0.43,0.09,0.12),
           Result(datetime.date(2011,9,6), 0.38,0.4,0.09,0.13),
           Result(datetime.date(2011,9,7), 0.36,0.42,0.09,0.14),
           Result(datetime.date(2011,9,8), 0.36,0.42,0.1,0.12),
           Result(datetime.date(2011,9,9), 0.38,0.41,0.09,0.13),
           Result(datetime.date(2011,9,11), 0.34,0.38,0.12,0.16),
           Result(datetime.date(2011,9,12), 0.35,0.37,0.13,0.15),
           Result(datetime.date(2011,9,12), 0.37,0.41,0.1,0.11),
           Result(datetime.date(2011,9,13), 0.35,0.43,0.1,0.12),
           Result(datetime.date(2011,9,14), 0.37,0.41,0.1,0.13),
           Result(datetime.date(2011,9,15), 0.33,0.36,0.09,0.22),
           Result(datetime.date(2011,9,15), 0.38,0.41,0.09,0.12),
           Result(datetime.date(2011,9,16), 0.36,0.42,0.09,0.13),
           Result(datetime.date(2011,9,19), 0.36,0.42,0.1,0.12),
           Result(datetime.date(2011,9,20), 0.36,0.41,0.1,0.12),
           Result(datetime.date(2011,9,21), 0.35,0.41,0.09,0.14),
           Result(datetime.date(2011,9,21), 0.37,0.38,0.14,0.12),
           Result(datetime.date(2011,9,22), 0.36,0.42,0.1,0.12),
           Result(datetime.date(2011,9,23), 0.36,0.42,0.11,0.11),
           Result(datetime.date(2011,9,25), 0.37,0.36,0.12,0.15),
           Result(datetime.date(2011,9,26), 0.39,0.41,0.08,0.13),
           Result(datetime.date(2011,9,27), 0.37,0.43,0.08,0.13),
           Result(datetime.date(2011,9,28), 0.37,0.43,0.09,0.11),
           Result(datetime.date(2011,9,29), 0.38,0.41,0.09,0.11),
           Result(datetime.date(2011,9,30), 0.33,0.4,0.09,0.18),
           Result(datetime.date(2011,9,30), 0.36,0.42,0.1,0.12),
           Result(datetime.date(2011,10,3), 0.37,0.42,0.09,0.12),
           Result(datetime.date(2011,10,4), 0.38,0.42,0.09,0.12),
           Result(datetime.date(2011,10,5), 0.37,0.41,0.09,0.13),
           Result(datetime.date(2011,10,6), 0.37,0.41,0.1,0.12),
           Result(datetime.date(2011,10,7), 0.38,0.42,0.09,0.11),
           Result(datetime.date(2011,10,10), 0.36,0.37,0.08,0.19),
           Result(datetime.date(2011,10,10), 0.36,0.4,0.11,0.13),
           Result(datetime.date(2011,10,11), 0.37,0.41,0.08,0.14),
           Result(datetime.date(2011,10,12), 0.36,0.42,0.09,0.14),
           Result(datetime.date(2011,10,13), 0.37,0.39,0.1,0.14),
           Result(datetime.date(2011,10,13), 0.37,0.42,0.09,0.12),
           Result(datetime.date(2011,10,14), 0.39,0.42,0.08,0.11),
           Result(datetime.date(2011,10,16), 0.33,0.41,0.08,0.17),
           Result(datetime.date(2011,10,17), 0.37,0.4,0.09,0.14),
           Result(datetime.date(2011,10,18), 0.38,0.42,0.09,0.11),
           Result(datetime.date(2011,10,19), 0.35,0.41,0.09,0.14),
           Result(datetime.date(2011,10,20), 0.36,0.41,0.1,0.13),
           Result(datetime.date(2011,10,21), 0.36,0.38,0.1,0.16),
           Result(datetime.date(2011,10,23), 0.33,0.41,0.1,0.17),
           Result(datetime.date(2011,10,23), 0.35,0.39,0.13,0.13),
           Result(datetime.date(2011,10,24), 0.33,0.39,0.09,0.19),
           Result(datetime.date(2011,10,24), 0.34,0.38,0.12,0.15),
           Result(datetime.date(2011,10,24), 0.36,0.4,0.09,0.14),
           Result(datetime.date(2011,10,25), 0.36,0.4,0.09,0.15),
           Result(datetime.date(2011,10,26), 0.35,0.41,0.1,0.15),
           Result(datetime.date(2011,10,27), 0.35,0.42,0.09,0.14),
           Result(datetime.date(2011,10,28), 0.36,0.39,0.08,0.16),
           Result(datetime.date(2011,10,30), 0.34,0.38,0.14,0.14),
           Result(datetime.date(2011,10,31), 0.36,0.37,0.11,0.16),
           Result(datetime.date(2011,10,31), 0.39,0.41,0.08,0.13),
           Result(datetime.date(2011,11,1), 0.35,0.41,0.09,0.15),
           Result(datetime.date(2011,11,2), 0.37,0.41,0.08,0.13),
           Result(datetime.date(2011,11,3), 0.36,0.41,0.08,0.15),
           Result(datetime.date(2011,11,4), 0.35,0.41,0.09,0.15),
           Result(datetime.date(2011,11,7), 0.34,0.38,0.1,0.18),
           Result(datetime.date(2011,11,7), 0.36,0.41,0.09,0.13),
           Result(datetime.date(2011,11,8), 0.35,0.4,0.1,0.14),
           Result(datetime.date(2011,11,9), 0.36,0.4,0.1,0.14),
           Result(datetime.date(2011,11,10), 0.35,0.42,0.08,0.15),
           Result(datetime.date(2011,11,11), 0.36,0.41,0.09,0.14),
           Result(datetime.date(2011,11,14), 0.37,0.4,0.09,0.13),
           Result(datetime.date(2011,11,15), 0.36,0.42,0.07,0.13),
           Result(datetime.date(2011,11,16), 0.36,0.41,0.1,0.13),
           Result(datetime.date(2011,11,17), 0.34,0.4,0.11,0.15),
           Result(datetime.date(2011,11,18), 0.36,0.4,0.09,0.15),
           Result(datetime.date(2011,11,20), 0.33,0.41,0.13,0.13),
           Result(datetime.date(2011,11,20), 0.36,0.38,0.14,0.12),
           Result(datetime.date(2011,11,21), 0.36,0.37,0.09,0.18),
           Result(datetime.date(2011,11,21), 0.34,0.41,0.12,0.13),
           Result(datetime.date(2011,11,21), 0.36,0.4,0.09,0.15),
           Result(datetime.date(2011,11,22), 0.35,0.42,0.09,0.14),
           Result(datetime.date(2011,11,23), 0.35,0.4,0.11,0.14),
           Result(datetime.date(2011,11,24), 0.33,0.42,0.08,0.17),
           Result(datetime.date(2011,11,24), 0.35,0.4,0.09,0.16),
           Result(datetime.date(2011,11,25), 0.34,0.43,0.11,0.12),
           Result(datetime.date(2011,11,27), 0.37,0.39,0.1,0.14),
           Result(datetime.date(2011,11,28), 0.37,0.39,0.09,0.14),
           Result(datetime.date(2011,11,29), 0.38,0.41,0.09,0.12),
           Result(datetime.date(2011,11,30), 0.37,0.42,0.09,0.13),
           Result(datetime.date(2011,11,30), 0.38,0.36,0.14,0.12),
           Result(datetime.date(2011,12,1), 0.36,0.41,0.11,0.12),
           Result(datetime.date(2011,12,2), 0.35,0.43,0.09,0.13),
           Result(datetime.date(2011,12,5), 0.36,0.42,0.11,0.11),
           Result(datetime.date(2011,12,6), 0.37,0.41,0.1,0.12),
           Result(datetime.date(2011,12,7), 0.35,0.42,0.09,0.14),
           Result(datetime.date(2011,12,9), 0.38,0.39,0.11,0.13),
           Result(datetime.date(2011,12,11), 0.38,0.38,0.12,0.12),
           Result(datetime.date(2011,12,12), 0.41,0.39,0.11,0.09),
           Result(datetime.date(2011,12,12), 0.39,0.4,0.1,0.12),
           Result(datetime.date(2011,12,13), 0.41,0.39,0.1,0.1),
           Result(datetime.date(2011,12,14), 0.4,0.38,0.1,0.12),
           Result(datetime.date(2011,12,15), 0.4,0.34,0.14,0.11),
           Result(datetime.date(2011,12,15), 0.41,0.4,0.1,0.1),
           Result(datetime.date(2011,12,16), 0.39,0.42,0.09,0.11),
           Result(datetime.date(2011,12,18), 0.35,0.39,0.12,0.15),
           Result(datetime.date(2011,12,19), 0.35,0.38,0.11,0.16),
           Result(datetime.date(2011,12,19), 0.38,0.42,0.09,0.1),
           Result(datetime.date(2011,12,20), 0.39,0.4,0.1,0.11),
           Result(datetime.date(2011,12,21), 0.37,0.36,0.15,0.13),
           Result(datetime.date(2011,12,21), 0.4,0.4,0.1,0.11),
           Result(datetime.date(2011,12,22), 0.4,0.4,0.09,0.11),
           Result(datetime.date(2012,1,3), 0.39,0.41,0.09,0.12),
           Result(datetime.date(2012,1,4), 0.38,0.42,0.1,0.11),
           Result(datetime.date(2012,1,5), 0.36,0.37,0.09,0.18),
           Result(datetime.date(2012,1,5), 0.39,0.41,0.11,0.09),
           Result(datetime.date(2012,1,6), 0.38,0.4,0.1,0.12),
           Result(datetime.date(2012,1,9), 0.39,0.41,0.1,0.1),
           Result(datetime.date(2012,1,10), 0.4,0.4,0.1,0.1),
           Result(datetime.date(2012,1,11), 0.4,0.38,0.1,0.12),
           Result(datetime.date(2012,1,12), 0.41,0.4,0.08,0.1),
           Result(datetime.date(2012,1,13), 0.38,0.4,0.09,0.14),
           Result(datetime.date(2012,1,15), 0.37,0.37,0.09,0.18),
           Result(datetime.date(2012,1,16), 0.4,0.4,0.09,0.11),
           Result(datetime.date(2012,1,17), 0.39,0.4,0.08,0.12),
           Result(datetime.date(2012,1,18), 0.4,0.39,0.07,0.13),
           Result(datetime.date(2012,1,19), 0.38,0.38,0.11,0.13),
           Result(datetime.date(2012,1,19), 0.41,0.38,0.08,0.13),
           Result(datetime.date(2012,1,20), 0.41,0.36,0.09,0.14),
           Result(datetime.date(2012,1,22), 0.37,0.38,0.13,0.12),
           Result(datetime.date(2012,1,22), 0.4,0.35,0.16,0.09),
           Result(datetime.date(2012,1,23), 0.37,0.4,0.1,0.13),
           Result(datetime.date(2012,1,23), 0.38,0.38,0.12,0.12),
           Result(datetime.date(2012,1,23), 0.35,0.37,0.11,0.16),
           Result(datetime.date(2012,1,23), 0.39,0.4,0.08,0.12),
           Result(datetime.date(2012,1,24), 0.4,0.38,0.09,0.13),
           Result(datetime.date(2012,1,25), 0.38,0.4,0.09,0.13),
           Result(datetime.date(2012,1,27), 0.39,0.4,0.08,0.12),
           Result(datetime.date(2012,1,29), 0.37,0.38,0.14,0.11),
           Result(datetime.date(2012,1,30), 0.38,0.36,0.08,0.18),
           Result(datetime.date(2012,1,30), 0.4,0.38,0.1,0.12),
           Result(datetime.date(2012,1,31), 0.39,0.4,0.09,0.12),
           Result(datetime.date(2012,2,2), 0.39,0.41,0.08,0.12),
           Result(datetime.date(2012,2,3), 0.39,0.4,0.09,0.12),
           Result(datetime.date(2012,2,6), 0.41,0.4,0.08,0.11),
           Result(datetime.date(2012,2,7), 0.37,0.42,0.09,0.13),
           Result(datetime.date(2012,2,8), 0.4,0.38,0.1,0.12),
           Result(datetime.date(2012,2,9), 0.38,0.41,0.09,0.11),
           Result(datetime.date(2012,2,10), 0.38,0.39,0.09,0.14),
           Result(datetime.date(2012,2,13), 0.36,0.36,0.1,0.18),
           Result(datetime.date(2012,2,13), 0.38,0.42,0.09,0.11),
           Result(datetime.date(2012,2,14), 0.4,0.39,0.09,0.13),
           Result(datetime.date(2012,2,15), 0.39,0.4,0.09,0.12),
           Result(datetime.date(2012,2,16), 0.39,0.38,0.1,0.13),
           Result(datetime.date(2012,2,16), 0.39,0.39,0.09,0.13),
           Result(datetime.date(2012,2,17), 0.37,0.41,0.07,0.15),
           Result(datetime.date(2012,2,19), 0.36,0.37,0.14,0.13),
           Result(datetime.date(2012,2,20), 0.39,0.38,0.1,0.13),
           Result(datetime.date(2012,2,21), 0.37,0.41,0.09,0.13),
           Result(datetime.date(2012,2,22), 0.38,0.4,0.08,0.15),
           Result(datetime.date(2012,2,23), 0.35,0.39,0.1,0.19),
           Result(datetime.date(2012,2,23), 0.39,0.38,0.1,0.14),
           Result(datetime.date(2012,2,24), 0.38,0.4,0.1,0.12),
           Result(datetime.date(2012,2,26), 0.37,0.4,0.13,0.1),
           Result(datetime.date(2012,2,27), 0.35,0.41,0.12,0.12),
           Result(datetime.date(2012,2,27), 0.38,0.4,0.09,0.13),
           Result(datetime.date(2012,2,28), 0.4,0.39,0.09,0.12),
           Result(datetime.date(2012,2,29), 0.38,0.4,0.09,0.13),
           Result(datetime.date(2012,3,1), 0.39,0.39,0.08,0.14),
           Result(datetime.date(2012,3,2), 0.4,0.39,0.09,0.12),
           Result(datetime.date(2012,3,5), 0.35,0.38,0.11,0.16),
           Result(datetime.date(2012,3,5), 0.36,0.41,0.11,0.13),
           Result(datetime.date(2012,3,6), 0.37,0.41,0.09,0.13),
           Result(datetime.date(2012,3,7), 0.32,0.4,0.1,0.18),
           Result(datetime.date(2012,3,7), 0.38,0.41,0.09,0.12),
           Result(datetime.date(2012,3,8), 0.37,0.42,0.08,0.12),
           Result(datetime.date(2012,3,9), 0.37,0.42,0.09,0.12),
           Result(datetime.date(2012,3,12), 0.36,0.41,0.09,0.14),
           Result(datetime.date(2012,3,12), 0.38,0.36,0.1,0.16),
           Result(datetime.date(2012,3,13), 0.36,0.43,0.09,0.12),
           Result(datetime.date(2012,3,14), 0.38,0.41,0.09,0.12),
           Result(datetime.date(2012,3,15), 0.37,0.4,0.1,0.13),
           Result(datetime.date(2012,3,15), 0.37,0.42,0.08,0.13),
           Result(datetime.date(2012,3,16), 0.38,0.4,0.09,0.14),
           Result(datetime.date(2012,3,18), 0.39,0.36,0.15,0.1),
           Result(datetime.date(2012,3,19), 0.36,0.37,0.11,0.15),
           Result(datetime.date(2012,3,19), 0.36,0.42,0.09,0.13),
           Result(datetime.date(2012,3,20), 0.35,0.43,0.09,0.13),
           Result(datetime.date(2012,3,21), 0.36,0.41,0.1,0.13),
           Result(datetime.date(2012,3,22), 0.34,0.42,0.09,0.15),
           Result(datetime.date(2012,3,23), 0.35,0.42,0.1,0.14),
           Result(datetime.date(2012,3,23), 0.37,0.38,0.13,0.13),
           Result(datetime.date(2012,3,24), 0.31,0.39,0.11,0.19),
           Result(datetime.date(2012,3,25), 0.34,0.38,0.11,0.16),
           Result(datetime.date(2012,3,26), 0.33,0.43,0.11,0.13),
           Result(datetime.date(2012,3,26), 0.35,0.42,0.09,0.14),
           Result(datetime.date(2012,3,27), 0.33,0.43,0.09,0.15),
           Result(datetime.date(2012,3,28), 0.34,0.44,0.1,0.12),
           Result(datetime.date(2012,3,29), 0.34,0.44,0.08,0.14),
           Result(datetime.date(2012,3,31), 0.33,0.42,0.08,0.17),
           Result(datetime.date(2012,4,2), 0.33,0.43,0.08,0.16),
           Result(datetime.date(2012,4,3), 0.34,0.42,0.08,0.15),
           Result(datetime.date(2012,4,4), 0.32,0.42,0.09,0.17),
           Result(datetime.date(2012,4,5), 0.33,0.42,0.08,0.17),
           Result(datetime.date(2012,4,6), 0.3,0.35,0.11,0.23),
           Result(datetime.date(2012,4,10), 0.36,0.4,0.09,0.15),
           Result(datetime.date(2012,4,11), 0.35,0.41,0.08,0.16),
           Result(datetime.date(2012,4,11), 0.32,0.42,0.1,0.16),
           Result(datetime.date(2012,4,12), 0.35,0.41,0.09,0.16),
           Result(datetime.date(2012,4,13), 0.29,0.41,0.11,0.19),
           Result(datetime.date(2012,4,13), 0.33,0.39,0.1,0.17),
           Result(datetime.date(2012,4,15), 0.33,0.42,0.11,0.16),
           Result(datetime.date(2012,4,16), 0.32,0.37,0.09,0.22),
           Result(datetime.date(2012,4,16), 0.32,0.43,0.08,0.17),
           Result(datetime.date(2012,4,17), 0.32,0.41,0.08,0.19),
           Result(datetime.date(2012,4,18), 0.32,0.41,0.1,0.16),
           Result(datetime.date(2012,4,19), 0.32,0.45,0.08,0.16),
           Result(datetime.date(2012,4,19), 0.34,0.4,0.11,0.15),
           Result(datetime.date(2012,4,20), 0.33,0.41,0.11,0.15),
           Result(datetime.date(2012,4,22), 0.33,0.41,0.15,0.12),
           Result(datetime.date(2012,4,23), 0.31,0.38,0.11,0.2),
           Result(datetime.date(2012,4,23), 0.35,0.38,0.12,0.15),
           Result(datetime.date(2012,4,23), 0.32,0.45,0.08,0.15),
           Result(datetime.date(2012,4,24), 0.32,0.43,0.08,0.16),
           Result(datetime.date(2012,4,25), 0.32,0.43,0.09,0.16),
           Result(datetime.date(2012,4,26), 0.31,0.43,0.09,0.18),
           Result(datetime.date(2012,4,27), 0.34,0.39,0.1,0.17),
           Result(datetime.date(2012,4,27), 0.29,0.4,0.11,0.2),
           Result(datetime.date(2012,4,30), 0.35,0.42,0.08,0.15),
           Result(datetime.date(2012,5,1), 0.32,0.41,0.09,0.08,0.1),
           Result(datetime.date(2012,5,2), 0.33,0.43,0.08,0.08,0.08),
           Result(datetime.date(2012,5,3), 0.32,0.41,0.09,0.09,0.09),
           Result(datetime.date(2012,5,4), 0.31,0.43,0.09,0.08,0.09),
           Result(datetime.date(2012,5,7), 0.3,0.43,0.1,0.04,0.13),
           Result(datetime.date(2012,5,8), 0.31,0.44,0.08,0.08,0.09),
           Result(datetime.date(2012,5,9), 0.31,0.44,0.09,0.08,0.09),
           Result(datetime.date(2012,5,10), 0.34,0.44,0.07,0.07,0.08),
           Result(datetime.date(2012,5,11), 0.31,0.43,0.1,0.08,0.09),
           Result(datetime.date(2012,5,14), 0.33,0.43,0.09,0.06,0.1),
           Result(datetime.date(2012,5,14), 0.31,0.45,0.07,0.08,0.08),
           Result(datetime.date(2012,5,15), 0.32,0.43,0.08,0.09,0.08),
           Result(datetime.date(2012,5,16), 0.31,0.45,0.09,0.08,0.07),
           Result(datetime.date(2012,5,17), 0.31,0.44,0.07,0.09,0.08),
           Result(datetime.date(2012,5,17), 0.31,0.44,0.07,0.07,0.09),
           Result(datetime.date(2012,5,18), 0.32,0.43,0.08,0.09,0.08),
           Result(datetime.date(2012,5,20), 0.36,0.41,0.11,0.04,0.09),
           Result(datetime.date(2012,5,20), 0.33,0.41,0.1,0.03,0.13),
           ]

seriesDate = []
seriesCon  = []
seriesLab  = []
seriesLib  = []
seriesOth  = []

for result in results:
  seriesDate.append(result.date          )
  seriesCon.append(result.conservative    * 100.0)
  seriesLab.append(result.labour          * 100.0)
  seriesLib.append(result.liberalDemocrat * 100.0)
  seriesOth.append(result.other           * 100.0)

fig = plt.figure()
ax = fig.add_subplot(111, axisbg='white')
line1 = ax.plot(seriesDate, seriesCon,  '-', lw=2, color='blue'  , label='Conservative'    )
line2 = ax.plot(seriesDate, seriesLab,  '-', lw=2, color='red'   , label='Labour'          )
line3 = ax.plot(seriesDate, seriesLib,  '-', lw=2, color='yellow', label='Liberal Democrat')
line4 = ax.plot(seriesDate, seriesUKIP, '-', lw=2, color='purple', label='UKIP'            )
line5 = ax.plot(seriesDate, seriesOth,  '-', lw=2, color='grey'  , label='Other'           )

fig.autofmt_xdate()
#legend = plt.legend(loc=3, ncol=1, fancybox=True)

ylabel('% Vote')
grid(True)

savefig('UKGeneralElection2015Polls.svg')

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

30 January 2012

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current19:30, 20 January 2013Thumbnail for version as of 19:30, 20 January 2013576 × 348 (66 KB)Sheffno1gunnerconversion of File:Opinion Polling Chart for the 2015 UK General Election.png to .svg format. I created both files myself. They are my own original work! I gave full licensing!
19:30, 20 January 2013Thumbnail for version as of 19:30, 20 January 2013576 × 348 (66 KB)Sheffno1gunnerconversion of File:Opinion Polling Chart for the 2015 UK General Election.png to .svg format. I created both files myself. They are my own original work! I gave full licensing!
09:53, 20 May 2012Thumbnail for version as of 09:53, 20 May 20121,058 × 450 (84 KB)ThebridUpdated with results from last election to date. Changed formatting slightly to accommodate larger amount of data.
15:23, 4 February 2012Thumbnail for version as of 15:23, 4 February 20121,058 × 450 (81 KB)ThebridBackfilled results to December, updated results to end of January.
21:20, 30 January 2012Thumbnail for version as of 21:20, 30 January 20121,058 × 450 (65 KB)ThebridUpdated with results from 1st-30th January 2012.
21:01, 30 January 2012Thumbnail for version as of 21:01, 30 January 20121,058 × 450 (44 KB)Thebrid

Metadata