How to put numbers by each stacked bar?

1 view (last 30 days)
Robert
Robert on 21 Sep 2013
I would like to have a bar graph as in the figure
Thanks in advance

Answers (2)

dpb
dpb on 21 Sep 2013
doc text % num2str() and/or ssprintf() are your friends here, too...

Image Analyst
Image Analyst on 21 Sep 2013
Here's a similar demo putting text above bars that you can adapt. Click the filename below.

Community Treasure Hunt

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

Start Hunting!