change tick values heat map
Afficher commentaires plus anciens
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.

Réponse acceptée
Plus de réponses (1)
cdata = rand(3,3);
h = heatmap(cdata);
h.XData = ["A", "B", "C"];
h.YData = ["A_1", "B_1", "C_1"];
3 commentaires
Roja Eliza
le 30 Juin 2022
Chunru
le 30 Juin 2022
Can you explain what you want exactly?
Roja Eliza
le 30 Juin 2022
Catégories
En savoir plus sur Data Distribution Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



