Skip to content
Snippets Groups Projects
Verified Commit 7a2ef002 authored by Jayesh Badwaik's avatar Jayesh Badwaik
Browse files

- fixed bugs in plotting

parent 8748abf4
No related branches found
No related tags found
No related merge requests found
jube_job_output.txt
*.csv
*.pdf
*.png
......@@ -18,9 +18,10 @@ if __name__ == "__main__":
with open(filename) as f:
plots = csv.reader(f, delimiter=",")
for row in plots:
x.append(int(row[0]))
y.append(int(row[1]))
for index, row in enumerate(plots):
if index != 0:
x.append(int(row[0]))
y.append(int(row[1]))
fig, ax = matplotlib.pyplot.subplots()
ax.plot(x, y)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment