Heatmap with specified color ranges?

53 views (last 30 days)
Stephen on 1 Jul 2020
Commented: dpb on 1 Jul 2020
I would like to generate a heat map for my data such that values =<3.00 are white, and values >3.00 up to the max (typically the max values can be from 10.00 to 30.00) are graded from white to red. For example, in Excel, the conditional formatting rule is:
How do I do the eqjuivalent for my matrix of data, using Matlab's heatmapping?

Accepted Answer

dpb on 1 Jul 2020
Whether this does precisely what you're looking for or not, I dunno...but might be a starting point.
Nothing like that built in to any of the MATLAB colormap functionality.
dpb on 1 Jul 2020
Kewl. I never did follow the caxis stuff all that much...

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!