diff --git a/ex-1/slides-plot.py b/ex-1/slides-plot.py index d8955be..299e23d 100755 --- a/ex-1/slides-plot.py +++ b/ex-1/slides-plot.py @@ -10,9 +10,9 @@ def moyal(x, μ, σ): return N * np.exp(- 0.5 * ((x - μ)/σ + np.exp( - (x - μ)/σ))) -# plt.figure() -plt.figure(figsize=(3.5, 2.5)) -plt.rcParams['font.size'] = 8 +plt.figure() +# plt.figure(figsize=(3.5, 2.5)) +# plt.rcParams['font.size'] = 8 # useful coordinates # y_min = -0.0086 # y min axes @@ -51,7 +51,7 @@ plt.plot(x, y, color='#92182b') # do Moyal plot μ = -0.22278298 σ = 1.1191486 -x = np.arange(-10,30, 0.01) +x = np.arange(-10, 30, 0.01) plt.plot(x, moyal(x, μ, σ), color='gray') # save figure