boxplotCsub (boxplotC)

版本 1.9.0.0 (8.1 KB) 作者: Brian Katz
Revised version of boxplotC to allow coloring and subgroup plotting of boxplots.

4.0K 次下载

更新时间 2014/9/2

查看许可证

This function provides some additional propoerties to the standard boxplot display. The basic old syntax of boxplot is retained, for compatibility.
The primary purpose is to allow for GROUPED boxplots, or subplots, of color coded boxplots on the same graph. This is useful for boxplot data comparrisons over multiple variables. It is also possible to overlay boxplots or to simply color different sets differently.

This routine allows for subgroup plotting of colorcoded boxplots (boxplotCsub) using the subfunction boxplotC (which allows for multiple colored box plots to be overlayed). In addition, standard line color and line width definition is available, as well as the filled option. This allows for color coding multiple box plots and overlaying. Download ZIP contains boxplotCsub with a revised boxplotC and boxutilC.

Reverse compatible with standard boxplot old (v.2002) syntax. While less obvious than the current syntax, looking at the examples should help clarify usage for those unfamiliar with boxplot.

Due to changes in boxplot in v.2011, the old BOXPLOT syntax help has been inclued, along with several examples.

BOXPLOTC is now obsolete, and superceded by this function.

引用格式

Brian Katz (2023). boxplotCsub (boxplotC) (https://www.mathworks.com/matlabcentral/fileexchange/5316-boxplotcsub-boxplotc), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
Windows macOS Linux
致谢

参考作品: boxplotC, Hatched Fill Patterns

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.9.0.0

Added warning for h_ticklabels call when unavailable. Added additional example showing default settings usage.

1.8.0.0

Revised help to be more readable.
Corrected bug when using RGB color definitions.

1.6.0.0

Small fonctionality, such as mean symbol. Fixes to various comments by users. As the BOXPLOT syntax has changed in recent versions of MatLab, I have copied the original help syntax as that is what is used here. BOXPLTCSUB now makes BOXPLOTC obsolete.

1.3.0.0

March 2011 revision includes the addition of mean symbol and variable widths.

1.2.0.0

Rev.2010 includes modification of box widths and control of overlap. Help modified to highlight these features.

1.1.0.0

Revised description only.

1.0.0.0