change tick values heat map
Mostrar comentarios más antiguos
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.

Respuesta aceptada
Más respuestas (1)
cdata = rand(3,3);
h = heatmap(cdata);
h.XData = ["A", "B", "C"];
h.YData = ["A_1", "B_1", "C_1"];
3 comentarios
Roja Eliza
el 30 de Jun. de 2022
Chunru
el 30 de Jun. de 2022
Can you explain what you want exactly?
Roja Eliza
el 30 de Jun. de 2022
Categorías
Más información sobre Data Distribution Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



