How to represent values in horizontal in bar chart

1 Ansicht (letzte 30 Tage)
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..

Akzeptierte Antwort

David Sanchez
David Sanchez am 21 Mai 2013
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);

Weitere Antworten (1)

Thomas
Thomas am 21 Mai 2013
Bearbeitet: Thomas am 21 Mai 2013

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by