Re: [Matplotlib-users] plot cdf

2007-09-27 Thread Alan G Isaac
On Thu, 27 Sep 2007, David Huard apparently wrote: scipy/sandbox/dhuard/stats.py Well, I also did not think of a double application of argsort to rank the observations. Nice. OK, I've got plenty to work with now. Thanks, Alan

Re: [Matplotlib-users] plot cdf

2007-09-27 Thread Alan G Isaac
After thinking it over, I did not go for Robert or David's cool numpy tricks, but I'll append a simple object in case someone else wants to do more. Cheers, Alan Isaac class EmpiricalCDF(object): '''Empirical cdf. First point will be (xmin,0). Last point will be (xmax,1). '''

[Matplotlib-users] plot cdf

2007-09-26 Thread Alan Isaac
Is there a standard function or practice for plotting the CDF of a series? (I am aware of the output of hist.) Thank you, Alan Isaac - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R)