[R] creating rainbow gradients

hadley wickham h.wickham at gmail.com
Thu Sep 18 00:49:04 CEST 2008

On Wed, Sep 17, 2008 at 3:58 PM, Gillian Silver <haettulegur at gmail.com> wrote:
> Hi, how can I create a rainbow gradient in R? For example, let's say I have
> a plot of y = x...and I want the plot to go from red -> orange -> yellow ->
> green -> blue -> etc.

Why would you want to?  See
 for some better alternatives.



More information about the R-help mailing list