フィルターのクリア

How to customise the zlabel?

1 回表示 (過去 30 日間)
Tony Castillo
Tony Castillo 2022 年 8 月 3 日
コメント済み: Tony Castillo 2022 年 8 月 3 日
Dear all,
I have this figure but I want to change zlabel which is currently numbers by labels, such as A, B, C, D, and E. Could you give me some insights to workaround this?
Thanks in advance

採用された回答

Abderrahim. B
Abderrahim. B 2022 年 8 月 3 日
hI!
Something like this :
[X,Y] = meshgrid(1:0.5:10,1:20);
Z = sin(X) + cos(Y);
surf(X,Y,Z)
% ACHange z label
zticks ;
zticklabels(["A" , "B", "C", "D", "E"])
  1 件のコメント
Tony Castillo
Tony Castillo 2022 年 8 月 3 日
Thanks Sir

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by