Dear all-
   
  I want to get a histogram. And I did the following.
  from pylab import *
  x=(1,1,2,2,2,2,3,4)
hist(x)
   
  Then I get
(array([2, 0, 0, 4, 0, 0, 1, 0, 0, 1]), array([ 1. ,  1.3,  1.6,  1.9,  2.2,  
2.5,  2.8,  3.1,  3.4,  3.7]), <a list of 10 Patch objects>)
   
  But actually I want to get a picture.
  What's the problem? What should I do?
   
  Thanks.
   
  Fangwen

       
---------------------------------
Building a website is a piece of cake. 
Yahoo! Small Business gives you all the tools to get online.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to