summaryrefslogtreecommitdiffstats
path: root/plotting.py
diff options
context:
space:
mode:
Diffstat (limited to 'plotting.py')
-rw-r--r--plotting.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/plotting.py b/plotting.py
new file mode 100644
index 0000000..5f33dd6
--- /dev/null
+++ b/plotting.py
@@ -0,0 +1,8 @@
+
+import pylab;
+
+justplot = lambda x: pylab.plot(x[:,0],x[:,1]);
+justplotdot = lambda x: pylab.plot(x[:,0],x[:,1],'o');
+
+justplot_x = lambda x: pylab.plot(range(len(x)),x);
+justplotdot_x = lambda x: pylab.plot(range(len(x)),x,'o');