nestedBar mimics the behavior of the bar function used with a 2D array. nestedBar groups the bars produced by the elements in each row and adds bars at the back that represent the total of each group.
See demo in the zip file.
Feel free to contact me for any question or enhancement.
Jerome Briot (2024). nestedBar (https://www.mathworks.com/matlabcentral/fileexchange/61448-nestedbar), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!