Skip to content
Back to formatted view

Raw Message

Message-ID: <43412620.8040502@free.fr>
Date: 2005-10-03T12:37:52Z
From: Romain Francois
Subject: heatmap
In-Reply-To: <43412303.3060708@unipd.it>

Le 03.10.2005 14:24, Andrea Zangrando a ??crit :

>Hi,
>i created a graph with heatmap(sma) function:
>
>heatmap(dataHeat(x))
>
>and I wish to change the gradation of colors from blue to red, how could 
>i do?
>Using "heatmap(dataHeat(x), col=c(2,4))" i will use only 2 colors 
>without gradation.
>
>Ty so much
>Andrea
>  
>
Hello,

Check bluered() in the gplots package.

Romain

-- 
visit the R Graph Gallery : http://addictedtor.free.fr/graphiques
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
~~~~~~      Romain FRANCOIS - http://addictedtor.free.fr         ~~~~~~
~~~~        Etudiant  ISUP - CS3 - Industrie et Services           ~~~~
~~                http://www.isup.cicrp.jussieu.fr/                  ~~
~~~~           Stagiaire INRIA Futurs - Equipe SELECT              ~~~~
~~~~~~   http://www.inria.fr/recherche/equipes/select.fr.html    ~~~~~~
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~