00001 #!/usr/bin/env python 00002 00003 import matplotlib.pyplot as plt 00004 import sys 00005 import csv 00006 00007 xs = [] 00008 ys = [] 00009 for row in csv.reader(open(sys.argv[1], 'r')): 00010 if row: 00011 xs.append(row[3]) 00012 ys.append(row[1]) 00013 plt.plot(xs, ys) 00014 plt.xlabel("number of points") 00015 plt.ylabel("Time to estimate plane [sec]") 00016 plt.interactive(True) 00017 plt.show() 00018 00019 while True: 00020 plt.pause(1)