# EXAMPLE 9: Introduction to Statistics for Astrophysicists # SS 2012 # JOCHEN WELLER # Poisson PROBABILITY nu=1.7 r=seq(0,8,by=1) height=dpois(r,nu) barplot(height,xlab='Number of Counts N',ylab="prob(N|D=12.5)",axisnames=TRUE)