I am trying to get the labels (for y-axis only)for the bar chart.
I have attached the codes and the pic where I desire to have the Y-axis labels.

 Accepted Answer

Star Strider
Star Strider on 3 May 2020

0 votes

If I understand correctly what you are asking, see: How can I add the values to the top of the bars? for one approach.

4 Comments

Yes thats corect. I will try using the method provided by you. Thank you.
My pleasure!
Hey thank you. I added just on more code to my coding and it worked. Have attached a pic of it :)
As always, my pleasure!

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!