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

1 visualizzazione (ultimi 30 giorni)
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

Risposte (1)

KSSV
KSSV il 3 Giu 2019
Read about pcolor, colorbar and colormap.

Categorie

Scopri di più su Data Distribution Plots in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by