File:Poisson pmf.svg
From Wikimedia Commons, the free media repository
Poisson_pmf.svg (SVG file, nominally 360 × 288 pixels, file size: 42 KB)
✓ The source code of this SVG is valid.
[edit] Summary
| Description |
English: Plot of the probability mass function for the Poisson distribution.
|
| Date | 10 February 2010 |
| Source | Own work |
| Author | Skbkekas |
[edit] Licensing
|
import numpy as np import matplotlib.pyplot as plt import scipy.special as sp X = np.arange(0,21) col = {1: 'orange', 4: 'purple', 10: 'lightblue'} ## ## PMF ## plt.clf() plt.figure(figsize=(4,3.2)) plt.axes([0.17,0.13,0.79,0.8]) plt.hold(True) A = [] for L in 1,4,10: P = -L + X*np.log(L) - sp.gammaln(X+1) P = np.exp(P) plt.plot(X, P, '-', color='grey') a = plt.plot(X, P, 'o', color=col[L]) A.append(a) plt.xlabel("k") plt.ylabel(r"P(X=k)") bx = plt.legend(A, (r"$\lambda=1$", r"$\lambda=4$", r"$\lambda=10$"),\ numpoints=1, handletextpad=0, loc="upper right") bx.draw_frame(False) plt.xlim(-1,21) plt.savefig("poisson_pmf.pdf") plt.savefig("poisson_pmf.svg")
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 20:23, 10 February 2010 | 360 × 288 (42 KB) | Skbkekas (talk | contribs) | {{Information |Description={{en|1=Plot of the probability mass function for the Poisson distribution.}} |Source={{own}} |Author=Skbkekas |Date=2-10-2010 |Permission= |other_versions= }} Category:Statistical diagrams |
- Edit this file using an external application (See the setup instructions for more information)
File usage on Commons
The following page links to this file:
File usage on other wikis
The following other wikis use this file:
- Usage on en.wikipedia.org
- Usage on fr.wikipedia.org
- Usage on id.wikipedia.org
- Usage on it.wikipedia.org
- Usage on ja.wikipedia.org