Skip to content
Prev 333684 / 398506 Next

specify breaks in divergent palette in RColorBrewer: was divergent colors around zero in levelplot()

On 26/11/2013 08:25, Barry Rowlingson wrote:
Mis-information alert!   The help says

      col: a list of colors such as that generated by ?rainbow?,
           ?heat.colors?, ?topo.colors?, ?terrain.colors? or similar
           functions.

and look at what they generate.  Or see e.g. ?col2rgb .

Although base graphics has the concept of a palette of colours, AFAIK it 
has always been bolted on top of a general colour specification, 
originally RGB and for many years already RGBA.