概要
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)
ライセンス
この作品の著作権者である私は、この作品を以下のライセンスで提供します。
|
この文書は、フリーソフトウェア財団発行のGNUフリー文書利用許諾書 (GNU Free Documentation License) 1.2またはそれ以降のバージョンの規約に基づき、複製や再配布、改変が許可されます。不可変更部分、表紙、背表紙はありません。このライセンスの複製は、GNUフリー文書利用許諾書という章に含まれています。http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue
|
- あなたは以下の条件に従う場合に限り、自由に
- 共有 – 本作品を複製、頒布、展示、実演できます。
- 再構成 – 二次的著作物を作成できます。
- あなたの従うべき条件は以下の通りです。
- 表示 – あなたは適切なクレジットを表示し、ライセンスへのリンクを提供し、変更があったらその旨を示さなければなりません。これらは合理的であればどのような方法で行っても構いませんが、許諾者があなたやあなたの利用行為を支持していると示唆するような方法は除きます。
- 継承 – もしあなたがこの作品をリミックスしたり、改変したり、加工した場合には、あなたはあなたの貢献部分を元の作品とこれと同一または互換性があるライセンスの下に頒布しなければなりません。
https://creativecommons.org/licenses/by-sa/4.0CC BY-SA 4.0 Creative Commons Attribution-Share Alike 4.0 truetrue
あなたは上記のライセンスから、どれか一つ以上を選択できます。