Scheduler
bigtemp.py
Go to the documentation of this file.
1 import matplotlib.pyplot as plt
2 
3 print "hello world"
4 
5 f = open("reports/temperatureReport.txt")
6 line = f.readline()
7 print line
8 time = []
9 temp = []
10 for line in f:
11  entry = line.split(":")
12  time.append(float(entry[0]))
13  temp.append(float(entry[1]))
14 f.close()
15 
16 
17 plt.plot(time, temp, 'ro')
18 plt.show()