labelling x axis vertically
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a graph ,and i want to label the axis vertically ,can u help please..
I gave bar graphs ,there are 7 bars in that graph
bar(y)
plots the graph for the values of y
x axis is labelled as 1 2 3 4 5....
i want to label the x axis vertically
i know to label for horizontal ,please tell for vertical
0 Kommentare
Antworten (1)
Wayne King
am 10 Nov. 2011
You mean you want the bar graphs extending from the vertical axis?
x = 1:4;
y = randperm(4);
barh(x,y);
Siehe auch
Kategorien
Mehr zu Bar Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!