is an option for BoxWhiskerPlot that specifies markers to be used for outliers.
BoxOutlierMarkers
is an option for BoxWhiskerPlot that specifies markers to be used for outliers.
Details and Options
- To use BoxOutlierMarkers, you first need to load the Statistical Plots Package using Needs["StatisticalPlots`"].
- Valid settings are the same as for PlotMarkers.
- With the setting BoxOutlierMarkers->Automatic, the outliers are drawn as points.
- With the setting BoxOutlierMarkers->None, the outliers are not drawn.
- The setting BoxOutlierShapes->{g1,g2} can be used to specify g1 as markers for near outliers and g2 as markers for far outliers.
Examples
Basic Examples (1)
Needs["StatisticalPlots`"]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), BoxOutlierMarkers, Wolfram Language function, https://reference.wolfram.com/language/StatisticalPlots/ref/BoxOutlierMarkers.html.
CMS
Wolfram Language. 2007. "BoxOutlierMarkers." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/StatisticalPlots/ref/BoxOutlierMarkers.html.
APA
Wolfram Language. (2007). BoxOutlierMarkers. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/StatisticalPlots/ref/BoxOutlierMarkers.html
BibTeX
@misc{reference.wolfram_2026_boxoutliermarkers, author="Wolfram Research", title="{BoxOutlierMarkers}", year="2007", howpublished="\url{https://reference.wolfram.com/language/StatisticalPlots/ref/BoxOutlierMarkers.html}", note=[Accessed: 09-April-2026]}
BibLaTeX
@online{reference.wolfram_2026_boxoutliermarkers, organization={Wolfram Research}, title={BoxOutlierMarkers}, year={2007}, url={https://reference.wolfram.com/language/StatisticalPlots/ref/BoxOutlierMarkers.html}, note=[Accessed: 09-April-2026]}