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

1 visualización (últimos 30 días)
z=[215,803,1578,2386;304,1036,2082,2568;471,1208,2192,3403];
bar3(z);
set(gca,'XTicklabel',{'A','B','C','D'})

Respuesta aceptada

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

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by