How to represent values in horizontal in bar chart

조회 수: 2 (최근 30일)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2013년 5월 21일
http://i44.tinypic.com/33vjga1.jpg...in the link mentioned above, i am getting all the months in a single direction.. i should get like january... den febrauary... den march....
january
febrauary..
march..

채택된 답변

David Sanchez
David Sanchez 2013년 5월 21일
x=rand(12,1);
y=rand(12,1);
plot(x,y,'o')
months = ['Jan';
'Feb';
'Mar';
'Apr';
'May';
'Jun';
'Jul';
'Aug';
'Sep';
'Oct';
'Nov';
'Dec'];
set(gca,'YTickLabel',months);

추가 답변 (1개)

Thomas
Thomas 2013년 5월 21일
편집: Thomas 2013년 5월 21일

카테고리

Help CenterFile Exchange에서 Bar Plots에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by