Skip to content

Instantly share code, notes, and snippets.

View pockethook's full-sized avatar

Cheehan Weereratne pockethook

View GitHub Profile
@pockethook
pockethook / plot.py
Created June 29, 2014 10:09
Plot stdin grid
import matplotlib.pyplot as plt
from numpy import genfromtxt
from sys import stdin
data = genfromtxt(stdin.buffer)
plt.plot(data)
plt.show()