change tick values heat map
Mostra commenti meno recenti
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.

Risposta accettata
Più risposte (1)
cdata = rand(3,3);
h = heatmap(cdata);
h.XData = ["A", "B", "C"];
h.YData = ["A_1", "B_1", "C_1"];
3 Commenti
Roja Eliza
il 30 Giu 2022
Chunru
il 30 Giu 2022
Can you explain what you want exactly?
Roja Eliza
il 30 Giu 2022
Categorie
Scopri di più su Data Distribution Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



