Skip to content

Instantly share code, notes, and snippets.

@polyglotpiglet
Created June 26, 2016 10:44
Show Gist options
  • Save polyglotpiglet/b8f2e1de8a56baa265f96a19a0308c22 to your computer and use it in GitHub Desktop.
Save polyglotpiglet/b8f2e1de8a56baa265f96a19a0308c22 to your computer and use it in GitHub Desktop.
import matplotlib.pyplot as plt
ys = []
with open('output.txt') as fp:
content = fp.readlines()
for line in content:
ys.append(int(line.strip()))
plt.plot(ys)
plt.ylabel("Time (ns)")
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment