how change the colors with heatmap ?

조회 수: 3 (최근 30일)
huda nawaf
huda nawaf 2013년 7월 2일
hi,
I used heatmap to show the clusters, but the colors is black and red.
how change these colors?
thanks
  댓글 수: 3
huda nawaf
huda nawaf 2013년 7월 4일
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*

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

답변 (1개)

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

카테고리

Help CenterFile Exchange에서 Colormaps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by