summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/tikzscale/histogramNormal.tikz
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/pgf/contrib/tikzscale/histogramNormal.tikz
Initial commit
Diffstat (limited to 'graphics/pgf/contrib/tikzscale/histogramNormal.tikz')
-rw-r--r--graphics/pgf/contrib/tikzscale/histogramNormal.tikz10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/tikzscale/histogramNormal.tikz b/graphics/pgf/contrib/tikzscale/histogramNormal.tikz
new file mode 100644
index 0000000000..043eda1540
--- /dev/null
+++ b/graphics/pgf/contrib/tikzscale/histogramNormal.tikz
@@ -0,0 +1,10 @@
+\begin{tikzpicture}
+ \begin{axis}[
+ ybar interval,
+ title={endlinechar: \the\endlinechar~(should be 13)}
+ ]
+ % 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