projects
/
svn42.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rf433rcv: added plotting of data. last ',' has to be removed by hand (se sample data)
[svn42.git]
/
rf433rcv
/
plot.py
diff --git a/rf433rcv/plot.py
b/rf433rcv/plot.py
new file mode 100755
(executable)
index 0000000..
350c40a
--- /dev/null
+++ b/
rf433rcv/plot.py
@@ -0,0
+1,11
@@
+#!/usr/bin/python
+
+import fileinput
+import numpy
+import pylab
+
+for line in fileinput.input():
+ data = numpy.array(line.split(","))
+ pylab.plot(range(len(data)),data)
+ pylab.show()
+