how change the colors with heatmap ?

26 views (last 30 days)
huda nawaf
huda nawaf on 2 Jul 2013
I used heatmap to show the clusters, but the colors is black and red.
how change these colors?
huda nawaf
huda nawaf on 4 Jul 2013
*Thanks , I resolved the problem of heatmap with not default colors, but happen another problem.
My matrix data (17770*17770) with size 2 GB. what I want is show these data using heatmap This is my code:
map=[0 0.5 0.5;0.5 1 1];
it takes more than two hours , then get help out of memory.
Are there a way to avoid this problem?
Thanks in advance*

Sign in to comment.

Answers (1)

per isakson
per isakson on 2 Jul 2013
Doc on bioinformation tb says:
HeatMap(Data, ...'Colormap', ColormapValue, ...)
and see
colormap, Set and get current colormap


Find more on Data Distribution Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!