from pylab import *
import matplotlib.style as style

style.use('dark_background')

tid = array([5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155])
temperatur1 = array([9,29.9,30,30.4,30.5,30.4,32.1,32.3,32.1,30.9,31.6,31.7,30.5,32.3,31.9,31.6,31.1,31.6,32.4,32.1,31,30.2,29.2,29.1,29.3,28,28.1,27.3,27.2,25.6,25.1])
temperatur2 = array([9,22.5,27.8,30,30.2,30.5,31.1,31.4,31.8,31.9,31.4,32.1,32.4,32.3,31.7,31.3,30.9,31.1,30.5,30,31.1,30.4,29.8,29.4,28.7,27,27.3,27.6,27.2,25.3,25.1])
SE =array([5.233,1.556,0.283,0.212,0.071,0.707,0.636,0.212,0.707,0.141,0.283,1.344,0.141,0.212,0.141,0.354,1.344,1.485,0.071,0.141,0.424,0.212,0.424,0.707,0.566,0.3,0.2,0.212,0,0.212,0])
gjnstt = array([9.0,26.2,28.9,30.2,30.35,30.45,31.6,31.85,31.95,31.4,31.5,31.9,31.45,32.3,31.8,31.45,31.0,31.35,31.45,31.05,31.05,30.3,29.5,29.25,29.0,27.5,27.7,27.45,27.2,25.45,25.1])
print(len(gjnstt))

plot(tid,gjnstt,'b',label='gjennomsnitt')
plot(tid,temperatur1,'r',label='forsok1')
plot(tid,temperatur2,'g',label='forsok2')
legend(loc='lower right')
show()
