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 (2024). boxplotstack (https://www.mathworks.com/matlabcentral/fileexchange/32466-boxplotstack), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.