summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.statistics.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.statistics.code.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.statistics.code.tex50
1 files changed, 25 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.statistics.code.tex b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.statistics.code.tex
index 6b05a8a9a69..3931d85dae3 100644
--- a/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.statistics.code.tex
+++ b/Master/texmf-dist/tex/generic/pgfplots/libs/tikzlibrarypgfplots.statistics.code.tex
@@ -8,12 +8,12 @@
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
-%
+%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
-%
+%
% You should have received a copy of the GNU General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
@@ -134,7 +134,7 @@
% chosen to fit the initial 'draw position':
boxplot/box extend/.initial=0.8,
% draw direction=x|y
- boxplot/draw direction/.initial=x,
+ boxplot/draw direction/.initial=x,
%
% Activates "dynamic size" feature
boxplot/variable width/.is if=pgfplotsplothandlerboxplot@variable@width,
@@ -152,7 +152,7 @@
boxplot/sample size min/.initial=,
boxplot/sample size max/.initial=,
%
- % this factor times 'box extend' is the size for
+ % this factor times 'box extend' is the size for
% 'sample size min'. The max value gets 'box extend'.
boxplot/variable width min target/.initial=0.2,
%
@@ -162,7 +162,7 @@
% 1,2,3,4,... . This should probably simplify tick (label) generation.
boxplot/draw position/.initial=1+\plotnumofactualtype,
%
- % draw relative anchor=0:
+ % draw relative anchor=0:
% | |---| |
% | | | |
% |----|---|--|
@@ -172,7 +172,7 @@
% |----| |--|
% | |---| |
%
- % draw relative anchor=1:
+ % draw relative anchor=1:
% |----|---|--|
% | | | |
% | |---| |
@@ -253,9 +253,9 @@
\let\pgfplotsplothandlersurveystart=\pgfplotsplothandlersurveystart@boxplot
\let\pgfplotsplothandlersurveyend=\pgfplotsplothandlersurveyend@boxplot
\def\pgfplotsplothandlerLUAfactory{%
- function(axis, pointmetainputhandler)
+ function(axis, pointmetainputhandler)
return pgfplots.BoxPlotPlothandler.new(
- pgfplots.BoxPlotRequest.new(
+ pgfplots.BoxPlotRequest.new(
"\pgfkeysvalueof{/pgfplots/boxplot/lower quartile off}",
"\pgfkeysvalueof{/pgfplots/boxplot/upper quartile off}",
"\pgfkeysvalueof{/pgfplots/boxplot/whisker range}",
@@ -366,7 +366,7 @@
}
% FIXME : implement 'ceil' in the FPU!
\pgfplots@error{The argument 'estimator=\pgfplots@boxplot@estimator' is only available in conjunction with 'lua backend' and lualatex.}%
- \or
+ \or
% R2:
\def\pgfplotsplothandler@boxplot@percentile@estimator@##1##2{%
\pgfmathparse{##1*##2 + 0.5}%
@@ -387,7 +387,7 @@
}
% FIXME : implement 'ceil' in the FPU!
\pgfplots@error{The argument 'estimator=\pgfplots@boxplot@estimator' is only available in conjunction with 'lua backend' and lualatex.}%
- \or
+ \or
% R3:
\def\pgfplotsplothandler@boxplot@percentile@estimator@##1##2{%
\pgfmathparse{##1*##2}%
@@ -397,42 +397,42 @@
\let\offset@low=\pgfmathresult
\pgfplotsplothandler@boxplot@percentile@estimator@getIndex{\offset@low}{##2}%
}
- \or
+ \or
% R4:
\def\pgfplotsplothandler@boxplot@percentile@estimator@##1##2{%
\pgfmathparse{##1*##2}%
\let\h=\pgfmathresult
\pgfplotsplothandler@boxplot@percentile@estimator@std@lookup{##2}%
}
- \or
+ \or
% R5:
\def\pgfplotsplothandler@boxplot@percentile@estimator@##1##2{%
\pgfmathparse{##1*##2 + 0.5}%
\let\h=\pgfmathresult
\pgfplotsplothandler@boxplot@percentile@estimator@std@lookup{##2}%
}
- \or
+ \or
% R6:
\def\pgfplotsplothandler@boxplot@percentile@estimator@##1##2{%
\pgfmathparse{##1*(##2+1)}%
\let\h=\pgfmathresult
\pgfplotsplothandler@boxplot@percentile@estimator@std@lookup{##2}%
}
- \or
+ \or
% R7:
\def\pgfplotsplothandler@boxplot@percentile@estimator@##1##2{%
\pgfmathparse{(##2-1) * ##1 + 1}%
\let\h=\pgfmathresult
\pgfplotsplothandler@boxplot@percentile@estimator@std@lookup{##2}%
}
- \or
+ \or
% R8:
\def\pgfplotsplothandler@boxplot@percentile@estimator@##1##2{%
\pgfmathparse{(##2 + 1/3) * ##1 + 1/3}%
\let\h=\pgfmathresult
\pgfplotsplothandler@boxplot@percentile@estimator@std@lookup{##2}%
}
- \or
+ \or
% R9:
\def\pgfplotsplothandler@boxplot@percentile@estimator@##1##2{%
\pgfmathparse{(##2 + 1/4) * ##1 + 3/8}%
@@ -556,7 +556,7 @@
}
-\def\pgfplotsplothandlersurveyend@boxplot@computestats{
+\def\pgfplotsplothandlersurveyend@boxplot@computestats{
%
\pgfplotsplothandler@boxplot@init@percentile@estimator
%
@@ -887,7 +887,7 @@
\pgfmathfloattofixed\pgfmathresult
\fi
% remember it for later - it might have been retrieved from some
- % table column! If you used something like
+ % table column! If you used something like
% 'draw position=\thisrow{position}, the position of the LAST data point
% will be used (because we are in end survey here).
\edef\pgfplots@loc@TMPb{\noexpand\pgfplotsplothandlersurveyaddoptions{/pgfplots/boxplot/draw position=\pgfmathresult}}%
@@ -1077,9 +1077,9 @@
\begingroup
\pgfkeys{/pgf/fpu}%
\pgfmathparse{
- (\pgfplots@widthkey@mintrg +
- max(0,min(1,(\pgfplots@widthkey@ - \pgfplotsplothandlerboxplot@widthkey@min) /
- (\pgfplotsplothandlerboxplot@widthkey@max - \pgfplotsplothandlerboxplot@widthkey@min)))
+ (\pgfplots@widthkey@mintrg +
+ max(0,min(1,(\pgfplots@widthkey@ - \pgfplotsplothandlerboxplot@widthkey@min) /
+ (\pgfplotsplothandlerboxplot@widthkey@max - \pgfplotsplothandlerboxplot@widthkey@min)))
* (1-\pgfplots@widthkey@mintrg)) * \pgfplots@loc@TMPa}%
\pgfmathfloattofixed\pgfmathresult
\pgfmath@smuggleone\pgfmathresult
@@ -1174,7 +1174,7 @@
% A helper which implements 'draw relative anchor'. It expands to a
% math expression which is suitable as second argument for 'boxplot cs';
% i.e. it needs to be added to 'boxplot/draw position'.
-%
+%
% More precisely, this macro is to be used in a context where lines of
% 'box extend' length have to be drawn.
%
@@ -1183,7 +1183,7 @@
%
% #1: the coordinate. 0 is the means "lower part of the construct
% which is to be drawn". 1 means the "upper part of that construct"
-% and 0.5 is in the middle.
+% and 0.5 is in the middle.
\def\pgfplots@boxplot@anchor@value#1{%
(#1-\pgfplotsboxplotvalue{draw relative anchor})*\pgfplotsboxplotvalue{box extend}%
}
@@ -1195,10 +1195,10 @@
}
\def\pgfplotsboxplotpointabbox#1#2{%
- \pgfplotsboxplotpointab{#1}{\pgfplots@boxplot@anchor@value{#2}}%
+ \pgfplotsboxplotpointab{#1}{\pgfplots@boxplot@anchor@value{#2}}%
}%
\def\pgfplotsboxplotpointabwhisker#1#2{%
- \pgfplotsboxplotpointab{#1}{\pgfplots@boxplot@anchor@value@whisker{#2}}%
+ \pgfplotsboxplotpointab{#1}{\pgfplots@boxplot@anchor@value@whisker{#2}}%
}%
\tikzdeclarecoordinatesystem{boxplot}{%