Filter löschen
Filter löschen

can anyone help me to change the numbering in y axis to some names, say 'X', 'Y','Z' ?

1 Ansicht (letzte 30 Tage)
z=[215,803,1578,2386;304,1036,2082,2568;471,1208,2192,3403];
bar3(z);
set(gca,'XTicklabel',{'A','B','C','D'})

Akzeptierte Antwort

KL
KL am 29 Aug. 2018
Just like how you've handled the X-Axis,
set(gca,'YTicklabel',{'X','Y','Z'})

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by