Highlight specific entry in matrix heatmap
Show older comments
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?
Accepted Answer
More Answers (0)
Categories
Find more on Data Distribution Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!