Code covered by the BSD License  

Highlights from

Be the first to rate this file! 7 Downloads (last 30 days) File Size: 2.77 KB File ID: #32466 Version: 1.2
image thumbnail



Laurent S (view profile)


08 Aug 2011 (Updated )

Displays stacked box plots with labels.

| Watch this File

File Information

Displays stacked box plots and optionally prints a label next to each box plot. The box plots show the first, second and third quartiles. The whiskers extend to the the smallest and largest data that are in range of 1.5x IQR of the first and third quartile, respectively.


boxplotstack( ...
{5+randn(100,1),2+randn(500,1);2+randn(500,1),5+randn(100,1)}, ...
{'Foo','Bar'}, ...
{'Some text','More text';0.7,0.4} );

MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
09 Aug 2011 1.1

Fixed label ordering. Improved label positioning. Added new label features such as background color and opacity.

21 May 2013 1.2

More accurate boxplots - thanks to Anders F.

Contact us