summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tikzscale/histogramNormal.tikz
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tikzscale/histogramNormal.tikz')
-rw-r--r--Master/texmf-dist/doc/latex/tikzscale/histogramNormal.tikz9
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tikzscale/histogramNormal.tikz b/Master/texmf-dist/doc/latex/tikzscale/histogramNormal.tikz
new file mode 100644
index 00000000000..30e7535d46d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tikzscale/histogramNormal.tikz
@@ -0,0 +1,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} \ No newline at end of file