how to label y axis of a graph in horizontal manner
14 views (last 30 days)
Show older comments
Sivakumaran Chandrasekaran
on 10 May 2013
Commented: Welbeck Sintim
on 6 Sep 2020
how to label y axis of a graph in horizontal manner... my output should be jan feb march
0 Comments
Accepted Answer
Azzi Abdelmalek
on 10 May 2013
Example
y=[1 2 3 4];
plot(y),
set(gca,'ytick',y,'yticklabel',{'Jan','Feb','March','April'})
More Answers (2)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!