Re: [Tutor] How to do histogram

2007-10-04 Thread Kent Johnson
Fangwen Lu wrote: > 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]), ) > > But actually I wan

Re: [Tutor] How to do histogram

2007-10-04 Thread Rikard Bosnjakovic
On 04/10/2007, Fangwen Lu <[EMAIL PROTECTED]> wrote: > What's the problem? We have no idea. Perhaps you could give us some info of what errors the Python-process returns. Things will be easier to help out that way. -- - Rikard - http://bos.hack.org/cv/ _