boxplotstack

Displays stacked box plots with labels.

You are now following this Submission

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.

Example:

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} );

Cite As

Laurent S (2026). boxplotstack (https://in.mathworks.com/matlabcentral/fileexchange/32466-boxplotstack), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

More accurate boxplots - thanks to Anders F.

1.1.0.0

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

1.0.0.0