Friday, April 30, 2010
Monday, April 26, 2010
Tuesday, April 13, 2010
i searched in vain for a quick and easy histogram plotter in chaco from enthought. found this snippet for using numpy.histogram, which i should be able to adapt to chaco if i need to later.
The NumPy's function histogram applied to an array returns a pair of vectors: the histogram of the array and the vector of bins. Beware:matplotlib has also a function to build histograms (called hist, as in matlab) different from that of NumPy. The main difference is thatpylab.hist plots the histogram automatically, while numpy.histogram only generates the data.