>>> hist? ... Docstring: HIST(x, bins=10, normed=0, bottom=0, align='edge', orientation='vertical', width=None, **kwargs) Compute the histogram of x. bins is either an integer number of bins or a sequence giving the bins. x are the data to be binned. The return values is (n, bins, patches) If normed is true, the first element of the return tuple will be the counts normalized to form a probability density, ie, n/(len(x)*dbin) align = 'edge' | 'center'. Interprets bins either as edge or center values orientation = 'horizontal' | 'vertical'. If horizontal, barh will be used and the "bottom" kwarg will be the left edges. width: the width of the bars. If None, automatically compute the width. kwargs are used to update the properties of the hist bars
In your example, len(x)=52, and dbins=bin[1]-bin[0]=4.4666666666667, which gives: n.sum() * dbins = 1 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users