ex-1: fixed a typo
This commit is contained in:
parent
61f3650a4b
commit
edb75c7e18
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user