colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes

colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes
复制标题

DOI:
10.18637/jss.v096.i01
复制
发表时间:
2020-11-01
影响因子:
5.8
通讯作者:
Wilke, Claus O.
Wilke, Claus O.
中科院分区:
计算机科学2区
文献类型:
--
作者:
Zeileis, Achim;Fisher, Jason C.;Wilke, Claus O.

文献摘要

被引文献

相似文献

R软件包colorspace提供了一个灵活的工具箱,用于选择单个颜色或调色板,操纵这些颜色,并在统计图形和数据可视化中使用它们。特别是,该软件包提供了一个基于HCL(色调-色度-亮度)颜色空间的广泛的调色板。三个HCL维度已被证明与人类视觉系统的维度非常匹配,从而促进通过该空间中的轨迹直观地选择调色板。使用HCL颜色模型,实现了三种类型调色板的一般策略:(1)定性编码分类信息,即,其中没有特定的类别排序可用。(2)用于编码有序/数字信息的顺序,即,从高到低(反之亦然)。(3)发散用于围绕中心中性值编码有序/数字信息,即,其中颜色从中性到两个极端发散。为了帮助选择和应用这些调色板,该软件包还包含与ggplot 2,shiny和tcltk应用程序一起使用的刻度,用于交互式探索,调色板属性的可视化,附带的操作实用程序(如去饱和和变亮/变暗),以及色觉缺陷的模拟。这些闪亮的应用程序也在http://hclwizard.org/上在线托管。
The R package colorspace provides a flexible toolbox for selecting individual colors or color palettes, manipulating these colors, and employing them in statistical graphics and data visualizations. In particular, the package provides a broad range of color palettes based on the HCL (hue-chroma-luminance) color space. The three HCL dimensions have been shown to match those of the human visual system very well, thus facilitating intuitive selection of color palettes through trajectories in this space. Using the HCL color model, general strategies for three types of palettes are implemented: (1) Qualitative for coding categorical information, i.e., where no particular ordering of categories is available. (2) Sequential for coding ordered/numeric information, i.e., going from high to low (or vice versa). (3) Diverging for coding ordered/numeric information around a central neutral value, i.e., where colors diverge from neutral to two extremes. To aid selection and application of these palettes, the package also contains scales for use with ggplot2, shiny and tcltk apps for interactive exploration, visualizations of palette properties, accompanying manipulation utilities (like desaturation and lighten/darken), and emulation of color vision deficiencies. The shiny apps are also hosted online at http://hclwizard.org/.