MATLAB Answers

HABILA
0

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

Asked by HABILA
on 29 Aug 2018
Latest activity Commented on by HABILA
on 29 Aug 2018
Accepted Answer by KL
z=[215,803,1578,2386;304,1036,2082,2568;471,1208,2192,3403];
bar3(z);
set(gca,'XTicklabel',{'A','B','C','D'})

  0 Comments

Sign in to comment.

1 Answer

回答者: KL
2018 年 8 月 29 日
 採用された回答

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

  1 Comment

Sign in to comment.