In [2]:
import matplotlib.pyplot as plt
%matplotlib inline
In [3]:
fin = open("output/edgevar/edge20", 'r')
ID = "344"
xs, ys, ths = [], [], []
for l in fin.readlines():
if l=="\n": continue
spt = l.split()
if spt[0] == ID:
xs.append(float(spt[2]))
ys.append(float(spt[3]))
ths.append(float(spt[4]))
In [4]:
plt.plot(xs)
Out[4]: