Saved in:
Bibliographic Details
Main Authors: Zeileis, Achim, Murrell, Paul
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2303.04918
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911190970531840
author Zeileis, Achim
Murrell, Paul
author_facet Zeileis, Achim
Murrell, Paul
contents Prior to version 4.0.0 R had a poor default color palette (using highly saturated red, green, blue, etc.) and provided very few alternative palettes, most of which also had poor perceptual properties (like the infamous rainbow palette). Starting with version 4.0.0 R gained a new and much improved default palette and, in addition, a selection of more than 100 well-established palettes are now available via the functions palette.colors() and hcl.colors(). The former provides a range of popular qualitative palettes for categorical data while the latter closely approximates many popular sequential and diverging palettes by systematically varying the perceptual hue, chroma, luminance (HCL) properties in the palette. This paper provides an overview of these new color functions and the palettes they provide along with advice about which palettes are appropriate for specific tasks, especially with regard to making them accessible to viewers with color vision deficiencies.
format Preprint
id arxiv_https___arxiv_org_abs_2303_04918
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Coloring in R's Blind Spot
Zeileis, Achim
Murrell, Paul
Computation
Prior to version 4.0.0 R had a poor default color palette (using highly saturated red, green, blue, etc.) and provided very few alternative palettes, most of which also had poor perceptual properties (like the infamous rainbow palette). Starting with version 4.0.0 R gained a new and much improved default palette and, in addition, a selection of more than 100 well-established palettes are now available via the functions palette.colors() and hcl.colors(). The former provides a range of popular qualitative palettes for categorical data while the latter closely approximates many popular sequential and diverging palettes by systematically varying the perceptual hue, chroma, luminance (HCL) properties in the palette. This paper provides an overview of these new color functions and the palettes they provide along with advice about which palettes are appropriate for specific tasks, especially with regard to making them accessible to viewers with color vision deficiencies.
title Coloring in R's Blind Spot
topic Computation
url https://arxiv.org/abs/2303.04918