changeset 17:5245d7d0c1bf

basic usage
author Jeff Hammel <k0scist@gmail.com>
date Sat, 20 Sep 2014 18:48:58 -0700
parents 9e593b26e93b
children e3fc1f75241d
files numerics/plot.py setup.py
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/numerics/plot.py	Sat Sep 20 18:45:08 2014 -0700
+++ b/numerics/plot.py	Sat Sep 20 18:48:58 2014 -0700
@@ -3,6 +3,13 @@
 
 """
 plot data
+
+Usage::
+
+  plot foo.csv
+
+Generates plots of all columns of foo versus the first column.
+The title is foo.csv unless overridden with ``--title``
 """
 
 # imports
--- a/setup.py	Sat Sep 20 18:45:08 2014 -0700
+++ b/setup.py	Sat Sep 20 18:48:58 2014 -0700
@@ -17,7 +17,8 @@
     kw['entry_points'] = """
     [console_scripts]
     interpolate = numerics.interpolation:main
-	read-csv = numerics.read:main
+    plot = numerics.plot:main
+    read-csv = numerics.read:main
 """
     kw['install_requires'] = dependencies
 except ImportError: