On 7/9/10 10:02 AM, per freem wrote: > I'd like to clarify: I want the empirical cdf, but I want it to be > normalized. There's a normed=True option to plt.hist but how can I do > the equivalent for CDFs?
There is no such thing as a normalized empirical CDF. Or rather, there is no such thing as an unnormalized empirical CDF. Alan's code is good. Unless if you have a truly staggering number of points, there is no reason to bin the data first. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users