diff options
Diffstat (limited to 'src/python/plot_lookuptable.py')
-rwxr-xr-x | src/python/plot_lookuptable.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/python/plot_lookuptable.py b/src/python/plot_lookuptable.py deleted file mode 100755 index 9d5c6f2..0000000 --- a/src/python/plot_lookuptable.py +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env python3 - -import matplotlib.pyplot as plt - -lookup_arr_a = [] -lookup_arr_b = [] - -path = "data/2e7.csv" - -print("opening data...") - -with open(path) as data: - print("opened " + path) - - lookup = data.readlines() - for i in range(0, len(lookup)): - lookup_arr_a.append(lookup[i].split(", ")[0]) - lookup_arr_b.append(lookup[i].split(", ")[1]) - -plt.plot(lookup_arr_a, lookup_arr_b) -plt.show() |