File:Poisson cdf.svg
维基共享资源,媒体文件资料库
跳转到导航
跳转到搜索
此SVG文件的PNG预览的大小:327 × 260像素。 其他分辨率:302 × 240像素 | 604 × 480像素 | 966 × 768像素 | 1,280 × 1,018像素 | 2,560 × 2,035像素。
原始文件 (SVG文件,尺寸为327 × 260像素,文件大小:91 KB)
文件信息
结构化数据
说明
摘要
[编辑]描述Poisson cdf.svg |
English: Plot of the cumulative distribution function for a Poisson distribution |
日期 | |
来源 | 自己的作品 |
作者 | Skbkekas |
SVG开发 InfoField | 本矢量图使用Matplotlib创作。 |
源代码 InfoField | Python codeimport numpy as np
import matplotlib.pyplot as plt
import scipy.special as sp
X = np.arange(0,21)
plt.rc('text', usetex = True)
plt.rc('font', family = 'serif', size = 12)
##
## CDF
##
col = {1: 'orange', 4: 'purple', 10: 'lightblue'}
plt.clf()
plt.figure(figsize=(4,3.2))
plt.axes([0.17,0.13,0.79,0.8])
A = []
for L in 1,4,10:
P = -L + X*np.log(L) - sp.gammaln(X+1)
P = np.exp(P)
P = np.cumsum(P)
for k in range(1,len(X)):
plt.plot([k-1,k], [P[k-1],P[k-1]], '-', color='grey', label = '_nolegend_')
a = plt.plot(X, P, 'o', color=col[L], markeredgecolor='k', markeredgewidth=0.5)
A.append(a)
plt.xlabel("$k$")
plt.ylabel(u"$P(X\le k)$")
bx = plt.legend((r"$\lambda=1$", r"$\lambda=4$", r"$\lambda=10$"),\
numpoints=1, handletextpad=0, loc="lower right")
bx.draw_frame(False)
plt.xlim([-1,21])
plt.ylim([0,1])
plt.savefig("poisson_cdf.pdf")
plt.savefig("poisson_cdf.svg")
|
许可协议
[编辑]我,本作品著作权人,特此采用以下许可协议发表本作品:
本文件采用知识共享署名 3.0 未本地化版本许可协议授权。
- 您可以自由地:
- 共享 – 复制、发行并传播本作品
- 修改 – 改编作品
- 惟须遵守下列条件:
- 署名 – 您必须对作品进行署名,提供授权条款的链接,并说明是否对原始内容进行了更改。您可以用任何合理的方式来署名,但不得以任何方式表明许可人认可您或您的使用。
文件历史
点击某个日期/时间查看对应时刻的文件。
日期/时间 | 缩略图 | 大小 | 用户 | 备注 | |
---|---|---|---|---|---|
当前 | 2020年11月21日 (六) 03:25 | 327 × 260(91 KB) | AkanoToE(留言 | 贡献) | Made all text LaTeX, fixed legend text spacing | |
2015年9月12日 (六) 01:23 | 360 × 288(53 KB) | Trlkly(留言 | 贡献) | Removed outer white background for aesthetic reasons (by hand). | ||
2010年2月10日 (三) 20:25 | 360 × 288(54 KB) | Skbkekas(留言 | 贡献) | {{Information |Description={{en|1=Plot of the cumulative distribution function for a Poisson distribution}} |Source={{own}} |Author=Skbkekas |Date=2010-2-10 |Permission= |other_versions= }} Category:Statistical diagrams |
您不可以覆盖此文件。
文件用途
没有页面使用本文件。
全域文件用途
以下其他wiki使用此文件:
- be.wikipedia.org上的用途
- bn.wikipedia.org上的用途
- en.wikipedia.org上的用途
- en.wikibooks.org上的用途
- fa.wikipedia.org上的用途
- fi.wikipedia.org上的用途
- id.wikipedia.org上的用途
- is.wikipedia.org上的用途
- it.wikipedia.org上的用途
- ja.wikipedia.org上的用途
- ko.wikipedia.org上的用途
- mk.wikipedia.org上的用途
- sq.wikipedia.org上的用途
- sr.wikipedia.org上的用途
- zh.wikipedia.org上的用途
元数据
此文件含有额外信息,这些信息可能是创建或数字化该文件时使用的数码相机或扫描仪所添加的。如果文件已从其原始状态修改,某些详细信息可能无法完全反映修改后的文件。
宽度 | 261.51282pt |
---|---|
高度 | 207.73982pt |