How to generate the probability distribution function based on data?

Hi,

I have an 1D wave, which contains 100 "1", 90 "2", 80 "3", ......, and 10 "10". I want to generate a probability plot, which is fitted by Poisson probability distribution function. I have found some commands in igor pro, like StatsPossonPDF(x,y), but I have no idea how to use it. Do I have to write code myself? Is there any available function for this? Could anyone lend me a hand?

Thanks!

Check out the documentation for the Histogram operation and in particular the /P flag.