How to put numbers by each stacked bar?
Show older comments
I would like to have a bar graph as in the figure

Thanks in advance
Answers (2)
dpb
on 21 Sep 2013
doc text % num2str() and/or ssprintf() are your friends here, too...
Image Analyst
on 21 Sep 2013
0 votes
Here's a similar demo putting text above bars that you can adapt. Click the filename below.
Categories
Find more on Graphics Object Properties 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!