How do I add a label on each bar of a multiple bar chart? I want to add specific times as labels.

2 views (last 30 days)
Newbie on 6 Aug 2021
Answered: Peter Perkins on 6 Aug 2021
I want to add a time as a label for each of my bars on this multiple bar chart. For example, I want 4:30:00 to display on top of my bar etc... Can someone help? Thanks.
h1=bar(T_Smooth{1:4,8},[T_Smooth{1,5} T_Smooth{1,7}; T_Smooth{2,5} T_Smooth{2,7};T_Smooth{3,5} T_Smooth{3,7};T_Smooth{4,5} T_Smooth{4,7}]);
I get this figure:


Community Treasure Hunt

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

Start Hunting!