create a bar graph
1 view (last 30 days)
Show older comments
0 Comments
Accepted Answer
Setsuna Yuuki.
on 21 Nov 2020
Edited: Setsuna Yuuki.
on 21 Nov 2020
Here there is an example:
c = categorical({'Jan ','feb','March '});
y = [2000 3000 4000];
bar(c,y)
5 Comments
Rik
on 21 Nov 2020
Edited: Rik
on 21 Nov 2020
I'm not judging you personally. I also don't see why it would be bad to be a student. I'm not claiming this forum as my personal space and I have only fairly limited means to enforce any standard. Those limited options were granted to me through the reputation system and Mathworks can decide at any moment to take them away. I have not edited away any part of this discussion.
I do not claim you are cheating, merely that this looked to me like homework and it is better to give a man a fishing rod than a fish.
If you are interested in the reasons why, they are outlined in the guidelines for posting homework questions. The same reasons apply to homework assignments you have assigned yourself.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!