From d0f19b8bc7ab11449cea028106504cacecd94f66 Mon Sep 17 00:00:00 2001 From: hanemile Date: Mon, 19 Mar 2018 20:47:13 +0100 Subject: cleaned up --- src/python/draw/draw.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/python/draw/draw.py (limited to 'src/python/draw/draw.py') diff --git a/src/python/draw/draw.py b/src/python/draw/draw.py new file mode 100644 index 0000000..e672a76 --- /dev/null +++ b/src/python/draw/draw.py @@ -0,0 +1,20 @@ +import matplotlib.pyplot as plt + +listx = [] +listy = [] + +with open("testFile.csv") as f: + data = f.readlines() + + print(data[1:1000]) + + for i in range(0, 1000): + listx.append(data[i].split(", ")[0]) + + + +# for value in listx: +# print(value, end="\n") + +plt.plot(listx) +plt.show() -- cgit 1.4.1