how change the colors with heatmap ?

3 visualizaciones (últimos 30 días)
huda nawaf
huda nawaf el 2 de Jul. de 2013
hi,
I used heatmap to show the clusters, but the colors is black and red.
how change these colors?
thanks
  3 comentarios
huda nawaf
huda nawaf el 4 de Jul. de 2013
hi,
*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];
h=colormap(map);
f=heatmap(data,'colormap',h);
it takes more than two hours , then get help out of memory.
Are there a way to avoid this problem?
Thanks in advance*

Iniciar sesión para comentar.

Respuestas (1)

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

Categorías

Más información sobre Colormaps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by