File:Frechet cdf.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 633 × 495 pixels, file size: 68 KB)

Summary

Description A plot of the cumulative distribution function of the Fréchet distribution.
Date
Source Self-made using python with numpy and matplotlib.
Author user:Arthena

Python Code

from matplotlib.pyplot import *
from numpy import linspace, exp

def calc_frechet_cdf(x,a,s):
    y = exp( -(x/s)**(-a))
    return y
 
x = linspace(0.2,5,10**5)
 
fig = figure()
ax = fig.add_subplot(111)
ax.plot(x,calc_frechet_cdf(x,1.,1.),label=r'$\alpha=1;$ $s=1$; $m=0$', linewidth=2)
ax.plot(x,calc_frechet_cdf(x,2.,1.),label=r'$\alpha=2;$ $s=1$; $m=0$', linewidth=2)
ax.plot(x,calc_frechet_cdf(x,3.,1.),label=r'$\alpha=3;$ $s=1$; $m=0$', linewidth=2)
ax.plot(x,calc_frechet_cdf(x,1.,2.),label=r'$\alpha=1;$ $s=2$; $m=0$', linewidth=2)
ax.plot(x,calc_frechet_cdf(x,2.,2.),label=r'$\alpha=2;$ $s=2$; $m=0$', linewidth=2)
ax.plot(x,calc_frechet_cdf(x,3.,2.),label=r'$\alpha=3;$ $s=2$; $m=0$', linewidth=2)
ax.grid(True)
ax.minorticks_on()
ax.legend(loc=4)
ax.set_xlim(0,5)
ax.set_ylim(0,1)
ax.set_xlabel("x")
ax.set_ylabel("CDF")
fig.savefig("Frechet_cdf.svg",bbox_inches="tight", pad_inches=.15)

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

File history

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

Date/TimeThumbnailDimensionsUserComment
current21:18, 9 July 2011Thumbnail for version as of 21:18, 9 July 2011633 × 495 (68 KB)Arthena== Summary == {{Information |Description= A plot of the cumulative distribution function of the Fréchet distribution. |Source= Self-made using python with numpy and matplotlib. |Date=
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: