matlab plot bar problem
Show older comments
I want to use bar to present my data however I draw it as following pattern

I would like to ask how to draw the following situation

attach my code and data.
Answers (1)
Matt J
on 13 Feb 2023
0 votes
Are you asking how to stack the bars? If so, see this example:
Categories
Find more on Discrete Data Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!