File:Normal Distribution PDF.svg

页面内容不支持其他语言。
這個文件來自維基共享資源
维基百科,自由的百科全书

原始文件(SVG文件,尺寸为720 × 460像素,文件大小:63 KB)


摘要

描述
English: A selection of Normal Distribution Probability Density Functions (PDFs). Both the mean, μ, and variance, σ², are varied. The key is given on the graph.
日期
来源 self-made, Mathematica, Inkscape
作者 Inductiveload
授权
(二次使用本文件)
Public domain 我,本作品著作权人,释出本作品至公有领域。这适用于全世界。
在一些国家这可能不合法;如果是这样的话,那么:
我无条件地授予任何人以任何目的使用本作品的权利,除非这些条件是法律规定所必需的。
SVG开发
InfoField
 
SVG的源代码为无效代码,因为发现了1个问题。
 
本W3C无效的矢量图使用R创作。
 
SVG文件使用了内嵌文本。
源代码
InfoField

R code

Plot[
 {
  PDF[NormalDistribution[1, Sqrt[2]], x],
  PDF[NormalDistribution[2, 1], x],
  PDF[NormalDistribution[3, Sqrt[3]], x],
    },
 {x, -5, 5},
 PlotRange -> All,
 Axes -> False]

Data

#			Normal Distribution PDF
#range
x=seq(-5,5,length=200)
#plot each curve
plot(x,dnorm(x,mean=0,sd=sqrt(.2)),type="l",lwd=2,col="blue",main='Normal Distribution PDF',xlim=c(-5,5),ylim=c(0,1),xlab='X',
ylab='φμ, σ²(X)')
curve(dnorm(x,mean=0,sd=1), add=TRUE,type="l",lwd=2,col="red")
curve(dnorm(x,mean=0,sd=sqrt(5)), add=TRUE,type="l",lwd=2,col="brown")
curve(dnorm(x,mean=-2,sd=sqrt(.5)), add=TRUE,type="l",lwd=2,col="green")

Text

#                    Normal Distribution
import numpy as np
import matplotlib.pyplot as plt 

def make_gauss(N, sig, mu):
    return lambda x: N/(sig * (2*np.pi)**.5) * np.e ** (-(x-mu)**2/(2 * sig**2))

def main():
    ax = plt.figure().add_subplot(1,1,1)
    x = np.arange(-5, 5, 0.01)
    s = np.sqrt([0.2, 1, 5, 0.5])
    m = [0, 0, 0, -2] 
    c = ['b','r','y','g']

    for sig, mu, color in zip(s, m, c): 
        gauss = make_gauss(1, sig, mu)(x)
        ax.plot(x, gauss, color, linewidth=2)

    plt.xlim(-5, 5)
    plt.ylim(0, 1)
    plt.legend(['0.2', '1.0', '5.0', '0.5'], loc='best')
    plt.show()

if __name__ == '__main__':
   main()

说明

添加一行文字以描述该文件所表现的内容

此文件中描述的项目

描繪內容

文件历史

点击某个日期/时间查看对应时刻的文件。

日期/时间缩⁠略⁠图大小用户备注
当前2016年4月29日 (五) 16:062016年4月29日 (五) 16:06版本的缩略图720 × 460(63 KB)RayhemLighten background grid
2009年9月22日 (二) 17:192009年9月22日 (二) 17:19版本的缩略图720 × 460(65 KB)StpashaTrying again, there seems to be a bug with previous upload…
2009年9月22日 (二) 17:152009年9月22日 (二) 17:15版本的缩略图720 × 460(65 KB)StpashaCurves are more distinguishable; numbers correctly rendered in roman style instead of italic
2009年6月27日 (六) 14:072009年6月27日 (六) 14:07版本的缩略图720 × 460(55 KB)Autiwafichier environ 2 fois moins gros. Purgé des définitions inutiles, et avec des plots optimisés au niveau du nombre de points.
2008年9月5日 (五) 18:222008年9月5日 (五) 18:22版本的缩略图720 × 460(109 KB)PatríciaRfrom http://tools.wikimedia.pl/~beau/imgs/ (recovering lost file)
2008年4月2日 (三) 19:09没有缩略图(109 KB)Inductiveload{{Information |Description=A selection of Normal Distribution Probability Density Functions (PDFs). Both the mean, ''μ'', and variance, ''σ²'', are varied. The key is given on the graph. |Source=self-made, Mathematica, Inkscape |Date=02/04/2008 |Author

以下2个页面使用本文件:

全域文件用途

以下其他wiki使用此文件:

查看本文件的更多全域用途

元数据