>>>>> "Simson" == Simson Garfinkel <[EMAIL PROTECTED]> writes:

    Simson> That's odd. I would think that it makes more sense to set
    Simson> the format *before* the data is plot, not after.

When normed is True, hist returns a probability density so that the
integral of the histogram equals one, assuming equally spaced bins.
See

  http://en.wikipedia.org/wiki/Probability_density_function

You should be able to verify this with 

  # trapezoidal integration of the probability density function
  from matplotlib.mlab import trapz
  pdf, bins, patches = ax.hist(...)
  print trapz(bins, pdf) 

JDH

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to