is an option for BoxWhiskerPlot that specifies the outliers to draw.
BoxOutliers
is an option for BoxWhiskerPlot that specifies the outliers to draw.
Details and Options
- To use BoxOutliers, you first need to load the Statistical Plots Package using Needs["StatisticalPlots`"].
- Valid settings are None, Automatic, and All.
- With BoxOutliers->None, no outliers are drawn and whiskers are drawn to cover the entire dataset.
- With BoxOutliers->All, near and far outliers are drawn identically.
- With the setting Automatic, near and far outliers are drawn as specified by the BoxOutlierMarkers option.
Examples
Basic Examples (1)
Needs["StatisticalPlots`"]Mark near and far outliers identically:
BoxWhiskerPlot[{1, 700, 800, 1100, 1200, 1000, 900, 1000, 2500},
BoxOutliers -> All]Use triangles for near outliers and squares for far outliers:
BoxWhiskerPlot[{1, 700, 800, 1100, 1200, 1000, 900, 1000, 2500},
BoxOutliers -> Automatic, BoxOutlierMarkers -> {\!\(\*
GraphicsBox[
PolygonBox[{{0.31361111111111, 0.569141111111111}, {
0.0202777777777772, 0.0358077777777774}, {0.611388888888888,
0.0358077777777774}}],
ImageSize->{19., 16.},
PlotRange->{{0, 1}, {0, 0.61803}},
PlotRegion->{{0., 1.57342657342657}, {0., 1.}}]\), \!\(\*
GraphicsBox[RectangleBox[{0, 0}],
ImageSize->{11., Automatic}]\)}]See Also
Tech Notes
Text
Wolfram Research (2007), BoxOutliers, Wolfram Language function, https://reference.wolfram.com/language/StatisticalPlots/ref/BoxOutliers.html.
CMS
Wolfram Language. 2007. "BoxOutliers." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/StatisticalPlots/ref/BoxOutliers.html.
APA
Wolfram Language. (2007). BoxOutliers. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/StatisticalPlots/ref/BoxOutliers.html
BibTeX
@misc{reference.wolfram_2026_boxoutliers, author="Wolfram Research", title="{BoxOutliers}", year="2007", howpublished="\url{https://reference.wolfram.com/language/StatisticalPlots/ref/BoxOutliers.html}", note=[Accessed: 09-April-2026]}
BibLaTeX
@online{reference.wolfram_2026_boxoutliers, organization={Wolfram Research}, title={BoxOutliers}, year={2007}, url={https://reference.wolfram.com/language/StatisticalPlots/ref/BoxOutliers.html}, note=[Accessed: 09-April-2026]}