This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

BoxWhiskerPlot

BoxWhiskerPlot[data]
creates a box-and-whisker plot of the given vector of data.
BoxWhiskerPlot[data1, data2, ...]
creates multiple box-and-whisker plots.
BoxWhiskerPlot[matrix]
also creates multiple box-and-whisker plots, with each column of the matrix used for a separate box.
  • BoxWhiskerPlot creates a plot with a box that spans the distance between two quantiles surrounding the median with lines ("whiskers") that extend to span either the full data set or the data set excluding outliers.
  • The default box spans from the .25 quantile to the .75 quantile.
  • Quantiles used are equivalent to those computed using Quantile.
  • Near outliers are defined as points beyond times the interquantile range from the edge of the box. Far outliers are defined as points beyond three times that range.
  • BoxWhiskerPlot has the same options as Graphics, with the following additions and changes:
BoxExtraSpacing0extra space to place between boxes
BoxLabelsAutomaticlabels for the boxes
BoxLineStyleAutomaticstyles to use for lines in the graph
BoxMedianStyleAutomaticadditional styles for the median line
BoxOrientationVerticalorientation of the plot
BoxOutliersNonewhich outliers to indicate
BoxOutlierMarkersAutomaticmarkers for outlier points
BoxQuantile0.25distance of quantile from median for box edges
BoxFillingStyleAutomaticcolors to use for the boxes
FrameTruewhether to put a frame around the plot
  • Valid settings for BoxQuantile are numbers between zero and 0.5.