Code covered by the BSD License  

Highlights from
boxplotCsub (boxplotC)

3.6

3.6 | 5 ratings Rate this file 23 Downloads (last 30 days) File Size: 9 KB File ID: #5316
image thumbnail

boxplotCsub (boxplotC)

by Brian Katz

 

20 Jun 2004 (Updated 21 Sep 2011)

Revised version of boxplotC to allow coloring and subgroup plotting of boxplots.

| Watch this File

File Information
Description

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 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.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
boxplotC

Required Products Statistics Toolbox
MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (7)
13 Jun 2006 Andreas Handel

'help boxplotC' gave information that was confusing. Couldn't understand it, therefore didn't try further. File might benefit from a more detailed explanation.

12 Apr 2007 K. Seiler

This program was a great help for me! Thank you very much! If you want to use it, just save the files in your working directory and use examples from the program to understand how it works.

10 Aug 2007 Hans van Dijk

Indeed the help could be inproved but for the rest it works nice.

13 Apr 2008 Gracee Agrawal

This program greatly helped me. Thanks a lot! Indeed help section should be improved. Also since it allows for subgroup plotting, there should be an option for adding legend to the plot.

03 Jul 2008 F Werner

Poorly documented & hard to use

01 Apr 2009 Ged Ridgway

Requires Statistics toolbox for prctile function.

31 Mar 2011 Brian Katz

Please see the different help examples, as well as the general use of MatLab's boxplot, which help clarify the syntax (based on the older original boxplot MatLab syntax). There is also a legend example to help users with this point. If you still have questions, please feel free to post them here.

Please login to add a comment or rating.
Updates
03 Mar 2009

Revised description only.

11 Jun 2010

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

31 Mar 2011

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

21 Sep 2011

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.

Tag Activity for this File
Tag Applied By Date/Time
specialized Brian Katz 22 Oct 2008 07:24:42
plotting Brian Katz 22 Oct 2008 07:24:42
boxplot Brian Katz 22 Oct 2008 07:24:42
subplot Brian Katz 22 Oct 2008 07:24:42
colorboxplotc Brian Katz 22 Oct 2008 07:24:42
graphics Brian Katz 22 Oct 2008 07:24:42
boxplot color Brian Katz 03 Mar 2009 03:09:26
boxutil color Brian Katz 03 Mar 2009 03:09:26
overlay Brian Katz 27 Feb 2010 10:22:30
boxplot Janek 21 Apr 2011 08:29:56
boxplot color Janek 21 Apr 2011 08:29:58

Contact us at files@mathworks.com