blob: 30e7535d46db46af81ad132a9dc036a0c5ba9d98 (
plain)
1
2
3
4
5
6
7
8
9
|
\begin{tikzpicture}
\begin{axis}[
ybar interval
]
% a data file containing 8000 normally distributed
% random numbers of mean 0 and variance 1
\addplot+[hist={data=x}] file {pgfplots.randn.dat};
\end{axis}
\end{tikzpicture}
|