Plot Groups of Stacked Bars

Version (1.69 KB) by Evan
Generate a bar plot with multiple stacks grouped together.


Updated Tue, 13 Sep 2011 21:29:41 +0000

View License

Plot a set of stacked bars, but group them according to labels provided.

stackData is a 3D matrix (i.e., stackData(i, j, k) => (Group, Stack, StackElement))
groupLabels is a CELL type (i.e., { 'a', 1 , 20, 'foo' };)

Cite As

Evan (2023). Plot Groups of Stacked Bars (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes