change tick values heat map
古いコメントを表示
I want to set ticks to my heat map figure. I don't find any options to do it. It has automatically set it with numbers. also I want to add subscripts to the values inside the boxes.

採用された回答
その他の回答 (1 件)
cdata = rand(3,3);
h = heatmap(cdata);
h.XData = ["A", "B", "C"];
h.YData = ["A_1", "B_1", "C_1"];
3 件のコメント
Roja Eliza
2022 年 6 月 30 日
Chunru
2022 年 6 月 30 日
Can you explain what you want exactly?
Roja Eliza
2022 年 6 月 30 日
カテゴリ
ヘルプ センター および File Exchange で Data Distribution Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



