Kirk on 28 Mar 2012
⋮
-
-
Link
Direct link to this question
See AlsoVideo: Insert a bar chart
Commented: ZenithWoman on 27 Jun 2021
Hello, Suppose i have some data that i want to plot in a bar chart. How do i assign labels to each of the bars. e.g.
somedata=randn(1,3)
somenames={'mike'; 'steve'; 'alex' }
barh(somedata)
My question is, how do i label each of the bars to the extreme left with the names.
Thank you for your help.
0 Comments Show -2 older commentsHide -2 older comments
Show -2 older commentsHide -2 older comments