Create Heatmap with custom colorbar (i.e. <0.01, <0.05)

Hi,
I'd like to plot a heatmap from my NxN matrix data. These values range from 0 to 1 and I want to have a color for each values smaller than 0.01, 0.05, 0.1, etc. and a color bar which displays '<0.01', '<0.05', etc.
I saw this in a presentation and I was wondering how to do that.
Thanks for help

2 件のコメント

KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 6 月 3 日
ii.png
KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 6 月 3 日
You can change the levels and colors as per your requirements.

サインインしてコメントする。

回答 (1 件)

KSSV
KSSV 2019 年 6 月 3 日

0 投票

Read about pcolor, colorbar and colormap.

カテゴリ

ヘルプ センター および File Exchange で Color and Styling についてさらに検索

製品

タグ

質問済み:

2019 年 6 月 2 日

コメント済み:

2019 年 6 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by