diff --git a/slides/misc/moyal-plot.py b/slides/misc/moyal-plot.py index a4da48f..617430c 100755 --- a/slides/misc/moyal-plot.py +++ b/slides/misc/moyal-plot.py @@ -11,10 +11,13 @@ def moyal(x, μ, σ): # plt.figure() plt.figure(figsize=(3, 2)) plt.rcParams['font.size'] = 8 +plt.ylim = (-0.02, 0.23) # do plot x = np.arange(-10, 30, 0.01) -plt.plot(x, moyal(x, 0, 1), color='#92182b') +μ = -0.22278298 +σ = 1.1191486 +plt.plot(x, moyal(x, μ, σ), color='gray') # save fig plt.tight_layout()