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

조회 수: 3 (최근 30일)
Gerrit Liedtke
Gerrit Liedtke 2019년 6월 2일
댓글: KALYAN ACHARJYA 2019년 6월 3일
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일
You can change the levels and colors as per your requirements.

댓글을 달려면 로그인하십시오.

답변 (1개)

KSSV
KSSV 2019년 6월 3일
Read about pcolor, colorbar and colormap.

카테고리

Help CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by