Re: [Matplotlib-users] qqplot

2010-05-21 Thread Stan West
> From: MONTAGU Thierry [mailto:thierry.mont...@cea.fr] > Sent: Friday, May 21, 2010 09:37 > > has anyone ever tried to make a quantile-quantile plot with pylab? > is there any build in function named say "qqplot" available ? For a plot comparing samples to a theoretical distribution (and if you

Re: [Matplotlib-users] qqplot

2010-05-21 Thread PHobson
Thierry, You need either scipy or rpy2 (and R) to do this. I've attached some code below. Please keep in mind that I've written for the general case of having a censored data set, therefore I rely on masked arrays from numpy.ma and scipy.stats.mstats -- but I have apply the mask midway through