Revision: 4027
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4027&view=rev
Author:   jdh2358
Date:     2007-10-26 12:57:04 -0700 (Fri, 26 Oct 2007)

Log Message:
-----------
modified stats descriptives

Modified Paths:
--------------
    trunk/py4science/examples/stats_descriptives.py

Modified: trunk/py4science/examples/stats_descriptives.py
===================================================================
--- trunk/py4science/examples/stats_descriptives.py     2007-10-26 19:55:21 UTC 
(rev 4026)
+++ trunk/py4science/examples/stats_descriptives.py     2007-10-26 19:57:04 UTC 
(rev 4027)
@@ -101,7 +101,7 @@
     # will have to do some extra parsing
     data = []
     fname = 'data/nm560.dat'  # tree rings in New Mexico 837-1987
-    #fname = 'data/hsales.dat'  # home sales
+    fname = 'data/hsales.dat'  # home sales
     for line in file(fname):
         line = line.strip()
         if not line: continue
@@ -109,8 +109,8 @@
         val = vals[0]
         data.append(float(val))
 
-    #desc = Descriptives(data)
-    #print desc
-    #c = desc.plots(pylab.figure, Fs=12, fmt='-o')
-    #c.ax1.set_title(fname)
-    #pylab.show()
+    desc = Descriptives(data)
+    print desc
+    c = desc.plots(pylab.figure, Fs=12, fmt='-o')
+    c.ax1.set_title(fname)
+    pylab.show()


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to