On Sat, Nov 1, 2008 at 3:35 PM, sandric ionut <[EMAIL PROTECTED]> wrote: > Hi: > > I did had a look before, but I couldn't find a good example > I was hoping to get an example from the list >
The example is in the link I posted http://matplotlib.sourceforge.net/examples/pylab_examples/histogram_demo_extended.html but I will include it here for your convenience n, bins, patches = P.hist(x, 50, normed=1, histtype='step', cumulative=True) # add a line showing the expected distribution y = P.normpdf( bins, mu, sigma).cumsum() y /= y[-1] l = P.plot(bins, y, 'k--', linewidth=1.5) See the link for the full example code JDH ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users