Heatmap doesn't show the values
Show older comments
The heatmap figures I used to plot on Matlab had the values labeled in each cell (just like the documenation says), but now the figure doesn't include the text. I'm not sure if I made changes to some settings. Does anyone know what the issue is?
For instance, I get the correct output here, when I run the following on web.
figure
heatmap(magic(5)); colormap(sky)
But this is what I get when I run this locally on my computer.

** EDIT: I run 2024a
Accepted Answer
More Answers (1)
Taylor
on 12 Sep 2024
0 votes
I'm not able to reproduce this in R2024a myself either. You can assign the output of heatmap to a variable to access the heatmap properties though. CellLabelColor and ColorbarVisible are some properties to start with.
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!
