StatisticalPlots`
StatisticalPlots`

BoxWhiskerPlot

As of Version 8.0, BoxWhiskerPlot has been renamed to BoxWhiskerChart and is part of the built-in Wolfram Language kernel.

BoxWhiskerPlot[data]

creates a boxandwhisker plot of the given vector of data.

BoxWhiskerPlot[data1,data2,]

creates multiple boxandwhisker plots.

BoxWhiskerPlot[matrix]

also creates multiple boxandwhisker plots, with each column of the matrix used for a separate box.

更多信息和选项

范例

打开所有单元关闭所有单元

基本范例  (1)

A box-and-whisker plot for a standard normal sample:

A box-and-whisker plot for a normal sample and a uniform sample:

Options  (9)

BoxExtraSpacing  (1)

A default box-and-whisker plot for two datasets:

Add an additional box width between the plots:

BoxLabels  (1)

Give explicit labels for plots:

BoxLineStyle  (1)

Use dashed rather than solid lines in the plot:

BoxMedianStyle  (1)

Display the median line as a dashed line:

BoxOrientation  (1)

Orient the graphic horizontally:

BoxOutliers  (1)

Mark near and far outliers identically:

Use triangles for near outliers and squares for far outliers:

BoxOutlierMarkers  (1)

Use triangles for near outliers and squares for far outliers:

BoxQuantile  (1)

The default covers the middle 50% of the data:

Cover the middle 90%:

BoxFillingStyle  (1)

Use a light gray to shade the box:

Wolfram Research (2007),BoxWhiskerPlot,Wolfram 语言函数,https://reference.wolfram.com/language/StatisticalPlots/ref/BoxWhiskerPlot.html.

文本

Wolfram Research (2007),BoxWhiskerPlot,Wolfram 语言函数,https://reference.wolfram.com/language/StatisticalPlots/ref/BoxWhiskerPlot.html.

CMS

Wolfram 语言. 2007. "BoxWhiskerPlot." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/StatisticalPlots/ref/BoxWhiskerPlot.html.

APA

Wolfram 语言. (2007). BoxWhiskerPlot. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/StatisticalPlots/ref/BoxWhiskerPlot.html 年

BibTeX

@misc{reference.wolfram_2024_boxwhiskerplot, author="Wolfram Research", title="{BoxWhiskerPlot}", year="2007", howpublished="\url{https://reference.wolfram.com/language/StatisticalPlots/ref/BoxWhiskerPlot.html}", note=[Accessed: 05-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_boxwhiskerplot, organization={Wolfram Research}, title={BoxWhiskerPlot}, year={2007}, url={https://reference.wolfram.com/language/StatisticalPlots/ref/BoxWhiskerPlot.html}, note=[Accessed: 05-November-2024 ]}