Blame view

decision/templates/experiments/load/okeanos/plot_iter.py 265 Bytes
8146dcf82   Thanasis Naskos   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  import matplotlib.pyplot as plt
  import sys
  
  time = []
  load = []
  ifile = open(sys.argv[1],'rb')
  lines = ifile.readlines()
  for row in lines:
  	rowSplit = row.split('\t')
  	time.append(rowSplit[0])
  	load.append(rowSplit[1])
  ifile.close()
  plt.plot(time, load)
  plt.show()