Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 

















File:Cauchy pdf.svg




Page contents not supported in other languages.  









File
Talk
 

















Read
View on Commons
 








Tools
   


Actions  



Read
View on Commons
 




General  



What links here
Upload file
Special pages
Printable version
Page information
Get shortened URL
Download QR code
 
















Appearance
   

 





This is a file from the Wikimedia Commons

From Wikipedia, the free encyclopedia
 


File

File history

File usage

Global file usage

Metadata
File:Cauchy pdf.svg
Size of this PNG preview of this SVG file: 360 × 288 pixels. Other resolutions: 300 × 240 pixels | 600 × 480 pixels | 960 × 768 pixels | 1,280 × 1,024 pixels | 2,560 × 2,048 pixels.

Original file(SVG file, nominally 360 × 288 pixels, file size: 36 KB)





Summary

Description
English: Plots of the density functions for several members of the Cauchy family of probability distributions.
Date
Source Own work
Author Skbkekas
SVG development

InfoField

 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code

InfoField

Python code

#!/usr/bin/python
import numpy as np
import matplotlib.pyplot as plt
import scipy.special as sp
import matplotlib.font_manager

col = ['orange', 'purple', 'deepskyblue', 'mediumseagreen']

X = np.arange(-5, 5, 0.01)

##                                                                              
## PDF                                                                          
##                                                                              

plt.rc('text', usetex = True)
plt.rc('font', family = 'serif', size = 12)

plt.clf()
plt.figure(figsize=(4,3.2))
plt.axes([0.14,0.12,0.83,0.82])
# plt.hold(True)

X = np.arange(-5, 5, 0.01)

A = []
for k,(x,g) in enumerate([(0,0.5),(0,1),(0,2),(-2,1)]):
    Y = ((X-x)/g)**2 + 1
    Y = 1/(np.pi*g*Y)
    a = plt.plot(X, Y, '-', color=col[k], lw=1.7)
    A.append(a)

plt.xlabel("$x$")
plt.ylabel("$P(x)$")
plt.ylim([0,0.7])
plt.tick_params(direction='in', top=True, right=True)

prop = matplotlib.font_manager.FontProperties(size=12)

# bx = 
plt.legend(("$x_0=0,\\, \\gamma=0.5$", "$x_0=0,\\,\\gamma=1$",\
                    "$x_0=0,\\, \\gamma=2$", "$x_0=-2,\\, \\gamma=1$"),
                numpoints=1, handlelength=0.75, handletextpad=0.5,\
                loc="upper right", frameon=False)
# bx.draw_frame(False)
plt.xlim(-5,5)

plt.savefig("cauchy_pdf.pdf")
plt.savefig("cauchy_pdf.svg")

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 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.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    2 March 2010

    image/svg+xml

    bcedeac5f5c4de169d128c65e9e34a40384aa69e

    37,077 byte

    288 pixel

    360 pixel

    File history



    Click on a date/time to view the file as it appeared at that time.
    Date/TimeThumbnailDimensionsUserComment
    current02:25, 21 November 2020Thumbnail for version as of 02:25, 21 November 2020360 × 288 (36 KB)AkanoToEMade all text LaTeX, spacing in legend more aesthetic.
    15:23, 4 March 2010Thumbnail for version as of 15:23, 4 March 2010360 × 288 (39 KB)Skbkekas{{Information |Description={{en|1=Plots of the density functions for several members of the Cauchy family of probability distributions.}} |Source={{own}} |Author=Skbkekas |Date=2010-03-02 |Permission= |other_versions= }} [[Category:Stat



    The following pages on the English Wikipedia use this file (pages on other projects are not listed):

    Cauchy distribution

    Fat-tailed distribution

    List of probability distributions


    Global file usage


    The following other wikis use this file:

    Usage on ar.wikipedia.org

    توزيع كوشي


    Usage on be.wikipedia.org

    Размеркаванне Кашы


    Usage on ca.wikipedia.org

    Distribució de Cauchy

    Llista de distribucions de probabilitat


    Usage on de.wikipedia.org

    Cauchy-Verteilung


    Usage on de.wikiversity.org

    Cauchy-Verteilung

    Fuzzylogik/Dichten und Zugehörigkeitsfunktionen

    Datenanalyse/von Daten zur Dichtefunktion


    Usage on en.wikiquote.org

    William Poundstone


    Usage on en.wiktionary.org

    Cauchy distribution


    Usage on es.wikipedia.org

    Anexo:Distribuciones de probabilidad

    Distribución de cola gruesa


    Usage on fa.wikipedia.org

    سرمایش لیزری


    Usage on fi.wikipedia.org

    Tiheysfunktio

    Cauchy-jakauma


    Usage on fr.wikipedia.org

    Liste de lois de probabilité


    Usage on hi.wikipedia.org

     


    Usage on it.wikipedia.org

    Distribuzione di Cauchy


    Usage on ko.wikipedia.org




    Usage on oc.wikipedia.org

    Probabilitat


    Usage on pt.wikipedia.org

    Distribuição de Cauchy

    Lista de distribuições de probabilidade


    Usage on sl.wikipedia.org

    Cauchyjeva porazdelitev


    Usage on sq.wikipedia.org

    Shpërndarja Cauchy


    Usage on tr.wikipedia.org

    Cauchy dağılımı


    Usage on uk.wikipedia.org

    Розподіл імовірностей

    Розподіл Коші


    Usage on www.wikidata.org

    Q726441



    Metadata

    If the file has been modified from its original state, some details may not fully reflect the modified file.


    Retrieved from "https://en.wikipedia.org/wiki/File:Cauchy_pdf.svg"







    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki