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

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

Risposta accettata

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

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by