File:Some log-normal distributions.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 593 × 561 pixels. Other resolutions: 254 × 240 pixels | 507 × 480 pixels | 812 × 768 pixels | 1,082 × 1,024 pixels | 2,165 × 2,048 pixels.
Original file (SVG file, nominally 593 × 561 pixels, file size: 65 KB)
File information
Structured data
Captions
This file has been superseded by PDF-log normal distributions.svg. It is recommended to use the other file. Please note that deleting superseded images requires consent.
|
Summary
[edit]DescriptionSome log-normal distributions.svg |
English: Some log-normal distributions. |
Date | |
Source | Own work |
Author | Derivative by Mikael Häggström from the original, File:Lognormal distribution PDF.png by User:Par |
Source Code
|
---|
from numpy import *
from matplotlib.pyplot import *
from mpl_toolkits.axes_grid.axislines import SubplotZero
pdf = lambda s,m,x: exp(-(log(x)-m)**2 / (2.*s**2)) / ( x*sqrt(2.*pi*s**2) )
fig = figure(figsize=(7,7))
ax = SubplotZero(fig,111)
fig.add_subplot(ax)
for direction in ["xzero","yzero"]:
ax.axis[direction].set_visible(True)
ax.axis[direction].set_axisline_style("->")
for direction in ["top","bottom","left","right"]:
ax.axis[direction].set_visible(False)
ax.axis["yzero"].set_axis_direction("left")
ax.grid(False)
ax.minorticks_on()
x = linspace(.001,3,150)
ax.plot(x,pdf(1.,0.,x))
ax.text(.1,.7,r'$\mu=0$, $\sigma=1$',color='b')
ax.plot(x,pdf(.5,0.,x),'g')
ax.text(.15,.9,r'$\mu=0$, $\sigma=0.5$',color='g')
ax.plot(x,pdf(.25,0.,x),'r')
ax.text(.5,1.7,r'$\mu=0$, $\sigma=0.25$',color='r')
ax.set_ylim(0,2.1)
ax.set_xlim(0,3)
ax.axis["xzero"].label.set_text(r'$x$')
ax.axis["yzero"].label.set_text(r'$f_x(x;\mu,\sigma)=\frac{1}{x\sigma\sqrt{2\pi}}e^{-\frac{\left(\ln x-\mu\right)^2}{2\sigma^2}}$')
fig.savefig("Test.svg",bbox_inches="tight",pad_inches=.15)
|
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following licenses:
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
You may select the license of your choice.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 18:41, 20 September 2011 | 593 × 561 (65 KB) | Krishnavedala (talk | contribs) | A smaller version with the same information created using python, numpy and matplotlib. | |
08:52, 27 February 2011 | 1,024 × 768 (247 KB) | Mikael Häggström (talk | contribs) | minimal adjustment of blue explanation | ||
08:47, 27 February 2011 | 1,024 × 768 (247 KB) | Mikael Häggström (talk | contribs) | Correction | ||
08:40, 27 February 2011 | 1,024 × 768 (247 KB) | Mikael Häggström (talk | contribs) | more easy-to read | ||
08:32, 27 February 2011 | 1,024 × 768 (246 KB) | Mikael Häggström (talk | contribs) | {{Information |Description ={{en|1=Some log-normal distributions.}} |Source ={{own}} |Author =Mikael Häggström |Date =2011-02-27 |Permission = |other_versions = |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on ca.wikipedia.org
- Usage on cs.wikipedia.org
- Usage on de.wikipedia.org
- Usage on el.wikipedia.org
- Usage on en.wikiversity.org
- Usage on hu.wikipedia.org
- Usage on ko.wikipedia.org
- Usage on pl.wikipedia.org
- Usage on uk.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 474pt |
---|---|
Height | 449pt |