Created
June 29, 2014 10:09
-
-
Save pockethook/aa358136a9baceacc90c to your computer and use it in GitHub Desktop.
Plot stdin grid
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
from numpy import genfromtxt | |
from sys import stdin | |
data = genfromtxt(stdin.buffer) | |
plt.plot(data) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment