using heatmap of a nxm matrix for outlier detection

4 次查看(过去 30 天)
I have a nxm matrix of positive real values. I would like to make a heatmap with values from 1 to maximum with color white to deep red and from 1 down to zero with color white to say deep blue.

采纳的回答

Image Analyst
Image Analyst 2022-10-23
I think you mean "colormap" rather than "heatmap". Try this:
>> colormapeditor
  2 个评论
Alvin Stroyny
Alvin Stroyny 2022-10-26
heatmap applies a single color gradient from white to dark (i.e. cold to hot). Instead of applying the white to the lowest values, I would like to define "room temperature" (i.e. the mean(mean(x)) ) and have say a red color gradient from white to red = room temp to hottest, and a reverse say blue gradient from white to dark blue = room temperature to coldest. I think the question is can the heatmap use a dual color gradient?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Distribution Plots 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by