According to Section 5.12.1 of the manual of PGFPlots; Revision 1.13 (2016/01/06), boxplot visualizes (see Page 472):
Median is the 0.5–quantile of the input data.
Lower quartile is the 0.25–quantile of the input data.
Upper quartile is the 0.75–quartile of the input data.
Lower whisker is the smallest data value which is larger than lower quartile−1.5 · IQR where IQR is the “inter–quartile–range”, i.e. the difference between upper quartile and lower quartile.
Upper whisker is the largest data value which is smaller than upper quartile+1.5 · IQR.
However, I would like to show the minimum, 25th, 50th, 75th, and 99th percentages of the input data. The data larger than the 99th quantile are considered outliers.
Is it possible to user-define the percentages (say, 99%) for lower/upper whisper in boxplot of PGFPlots?
Note: This can be done in Mathematica; see the post.
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{width=7cm, compat=1.12}
\usepgfplotslibrary{statistics}
\begin{document}
\begin{tikzpicture}
\begin{axis}[y=1cm]
\addplot+[boxplot]
table[row sep=\\,y index=0] {
data\\
1\\ 2\\
11\\ 12\\ 13\\ 14\\ 15\\
16\\ 17\\ 18\\ 19\\ 20\\
30\\ 35\\
};
\end{axis}
\end{tikzpicture}
\end{document}