-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhistogram_cli.tex
29 lines (23 loc) · 1.18 KB
/
histogram_cli.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% This is part of the stat-toolkit documentation
% Copyright (C) 2012,2013 Krzysztof Stachowiak
% See the file FDL for copying conditions.
\section{\texttt{histogram}}
\subsection{All options}
\begin{itemize}
\item \texttt{-d} \textit{delimiter} -- Allows selection of a custom
delimiter for the output data.
\item \texttt{-w} \textit{bucket-width} -- Determines the width of the
histogram bucket. The default value is 1.0.
\end{itemize}
\subsection{Summary}
The program takes a list of numbers, one number per line and builds
a histogram of the provided distribution. The default bucket width is 1.0,
but this setting may be overriden with use of the \texttt{-w \textit{width}}
option.
The output consists of two columns. The first column is built of the bucket
center values, whereas in the second columnt the number of the results that
fell into the according bucket is given. By default the columns are separated
with the tab character, but this behavior can be altered with use of the
\texttt{-d \textit{delimiter}} option.
The program automatically generates empty buckets for the ranges, for which
there were no results, therefore the data is ready for further processing.