Skip to content
Back to formatted view

Raw Message

Message-ID: <499BDD41.3030502@statistik.tu-dortmund.de>
Date: 2009-02-18T10:04:49Z
From: Uwe Ligges
Subject: Color Function
In-Reply-To: <12782944.968091234950382734.JavaMail.defaultUser@defaultHost>

enrico.foscolo2 at libero.it wrote:
> Good Morning to Everybody,
> 
> I am searching a function which could define a 
> vector of colors from a vector of gray, from white to black (not from black to 
> white as the function gray()).
> 

rev(gray())

Uwe Ligges


> I have to use it in the function image(), 
> parameter "col".
> 
> Thank You very much,
> 
> Enrico Foscolo
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.