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

조회 수: 1 (최근 30일)
HABILA
HABILA 2018년 8월 29일
댓글: HABILA 2018년 8월 29일
z=[215,803,1578,2386;304,1036,2082,2568;471,1208,2192,3403];
bar3(z);
set(gca,'XTicklabel',{'A','B','C','D'})

채택된 답변

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by