change tick values heat map
Ältere Kommentare anzeigen
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.

Akzeptierte Antwort
Weitere Antworten (1)
cdata = rand(3,3);
h = heatmap(cdata);
h.XData = ["A", "B", "C"];
h.YData = ["A_1", "B_1", "C_1"];
3 Kommentare
Roja Eliza
am 30 Jun. 2022
Chunru
am 30 Jun. 2022
Can you explain what you want exactly?
Roja Eliza
am 30 Jun. 2022
Kategorien
Mehr zu Data Distribution Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



