Highlight specific entry in matrix heatmap
Afficher commentaires plus anciens
Given the matrix
A = rand(10,10);
We can visualize this with
heatmap(A);
I would like to "highlight" some fixed entries of A regardless of their values. For example, A(1,1) and A(3,2) as in the image
<<

>>
. One way would be to place an "X" on the specific values. Another would be to make the border around these entries bold.
How could one go about this efficiently?
Réponse acceptée
Plus de réponses (0)
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!