[R] adjusting color palette
Don MacQueen
macq at llnl.gov
Mon Jun 14 16:14:46 CEST 2004
See also
?pallete
with which you can make your pallete be anything you want. The
examples given there will point you to several pre-defined palletes.
Perhaps one of them will do a better job for you than whatever you're
trying now.
rainbow(n, s = 1, v = 1, start = 0, end = max(1,n - 1)/n, gamma = 1)
heat.colors(n)
terrain.colors(n)
topo.colors(n)
cm.colors(n)
-Don
At 1:08 PM +0100 6/14/04, Laura Quinn wrote:
>Is there a way to increase the "sensitivity" of the color palette in order
>to more clearly represent certain sections of data? For example I am
>wanting to clearly differentiate between height data for a rolling
>landscape but because of the extremes of the dataset (sea and mountain
>tops), the bulk of the landscape is shaded in closely approximating green
>- i have attempted to do this by using a larger color palette but this
>doesn't make things any clearer.
>Thanks
>Laura
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
--
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
More information about the R-help
mailing list