diff options
author | hanemile <emile.hansmaennel@gmail.com> | 2018-01-16 15:59:01 +0100 |
---|---|---|
committer | hanemile <emile.hansmaennel@gmail.com> | 2018-01-16 15:59:01 +0100 |
commit | 50012de6c2fd3eae0aa04b7a2b4e497dc0bae27a (patch) | |
tree | 51c6ba3aa9cb2771c2d7aa0c9bbe54fa5b4d2ef7 /src/python/draw.py | |
parent | e5d00b1b2e2e7c0684dae7324feb86c36188047b (diff) |
updated the source files
Diffstat (limited to 'src/python/draw.py')
-rw-r--r-- | src/python/draw.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/python/draw.py b/src/python/draw.py new file mode 100644 index 0000000..e672a76 --- /dev/null +++ b/src/python/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() |