File:Arcsin density.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file(SVG file, nominally 733 × 553 pixels, file size: 27 KB)

Summary

Description A plot of the density function of the arcsine distribution.
Date
Source Self-made using python, numpy, and matplotlib.
Author user:Arthena
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

import numpy as np
import matplotlib.pyplot as plt

N_POINTS = 10**5;  #number of points where the function will be evaluated

plt.figure(1)   
domain = map(lambda t:(float(t)+1)/(float(N_POINTS)+1), range(N_POINTS))
values = map(lambda t:1/(np.pi*np.sqrt(t*(1-t))), domain)
myplot = plt.plot(domain, values)
plt.axis([0,1,0,3])
plt.grid(True)
plt.setp(myplot, 'color', 'b', 'linewidth', 3.0)
plt.xlabel('x', fontsize=16, style='italic')
plt.ylabel('f(x)', fontsize=16, style='italic')
plt.show()

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head 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.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International, 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic 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.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

9 July 2011

image/svg+xml

7fbb87c395de6e7ce07d6ad94a7574bac6d8b7f6

27,687 byte

553 pixel

733 pixel

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current12:21, 9 July 2011Thumbnail for version as of 12:21, 9 July 2011733 × 553 (27 KB)Arthena{{Information |Description= A plot of the density function of the arcsine distribution. |Source= Self-made using python, numpy, and matplotlib. |Date= July 9 2011 |Author= user:Arthena |Permission=
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file: