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!



