In [1]:
%matplotlib inline

In [2]:
import matplotlib.pyplot as plt
import csv

In [50]:
idx = []
x = []
f = []

with open('results.csv','r') as csvfile:
    plots = csv.reader(csvfile, delimiter=',')
    for row in plots:
        idx.append(int(row[0]))
        x.append(float(row[1]))
        f.append(float(row[2]))

In [51]:
csvfile.close()

In [52]:
# plt.plot(x,u,'r-',x,result_parallel,label="result_parallel",x,result_parallelplusu,label="result_parallel + u")
plt.plot(x,f,'r-')


Out[52]:
[<matplotlib.lines.Line2D at 0x7f3bb81fb110>]

In [ ]:
len()