A new function grDevices::hcl.colors() greatly extends the color palette
functionality available in base R. Also, the defaults in the heatmap
functions image() and filled.contour() have been adapted accordingly.
Feedback is welcome, especially regarding potential problems with the
> Quick Q: why do some palettes have a hyphen in the name and others not?
I followed the naming conventions of the respective packages that provide
the original for the the HCL-based approximations. But when you specify
the palette name in hcl.colors() all hyphens, spaces, and the
capitalization is ignored anyway:
So hopefully this does not lead to too much confusion.
> On Tue, 2 Apr 2019 at 00:38, Achim Zeileis <[hidden email]> wrote:
> Hi everyone,
> I wanted to draw your attention to a new post on the
> developer.R-project.org blog:
> https://developer.R-project.org/Blog/public/2019/04/01/hcl-based-color-pale > ttes-in-grdevices/
> A new function grDevices::hcl.colors() greatly extends the color
> functionality available in base R. Also, the defaults in the
> functions image() and filled.contour() have been adapted
> Feedback is welcome, especially regarding potential problems
> with the
> changed defaults.
> Best wishes,
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel >
> Sent from Gmail Mobile
thanks for the feedback. As you noticed meanwhile we had linked Ross's
2003 paper as well as a few other references. The slides from Ross are a
useful addition, I didn't know these (only parts of them).
Also we didn't want to list all of the references in the blog post but
linked to the colorspace web page and manuscript - both of which have much