Explore
Connect
Documentation
Snippets
Log in
Sign up
1
2
3
4
5
6
7
8
9
10
import
matplotlib.pyplot
as
plt
from
numpy.random
import
randn
plt.hist(randn(
10000
),
50
)
plt.xlabel(
r
"$x$"
)
plt.ylabel(
r
"$count$"
)
plt.title(
r
"Histogram of 10000 Gaussian $
\m
athcal{N}
(
0, 1
)
$ Samples"
)
plt.xlim([-
4
,
4
])
plt.show()
Enter to Rename, Shift+Enter to Preview
Run