Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
Gerrit Liedtke
Gerrit Liedtke am 2 Jun. 2019
Kommentiert: KALYAN ACHARJYA am 3 Jun. 2019
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 Kommentare
KALYAN ACHARJYA
KALYAN ACHARJYA am 3 Jun. 2019
You can change the levels and colors as per your requirements.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

KSSV
KSSV am 3 Jun. 2019
Read about pcolor, colorbar and colormap.

Kategorien

Mehr zu Data Distribution Plots finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by