arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1903.06490stat.COcs.GR
收藏

colorspace:一个用于操作和评估颜色与调色板的工具箱

colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes

Achim Zeileis, Jason C. Fisher, Kurt Hornik, Ross Ihaka, Claire D. McWhite, Paul Murrell, Reto Stauffer, Claus O. Wilke

AI总结:

colorspace 是一个基于 HCL 颜色空间的 R 包,提供定性、顺序和发散三类调色板及配套工具,用于统计图形和数据可视化中的颜色选择、操作与评估。

摘要:

R 包 colorspace 提供了一个灵活的工具箱,用于选择单个颜色或调色板、操作这些颜色,并将其用于统计图形和数据可视化。特别是,该包提供了基于 HCL(Hue-Chroma-Luminance,色相-色度-亮度)颜色空间的广泛调色板。HCL 的三个维度已被证明与人类视觉系统的对应维度非常吻合,从而有助于通过该空间中的轨迹直观地选择调色板。使用 HCL 颜色模型,实现了三种类型调色板的通用策略:(1)定性(Qualitative)调色板,用于编码分类信息,即类别没有特定顺序的情况。(2)顺序(Sequential)调色板,用于编码有序/数值信息,即从高到低(或反之)变化的情况。(3)发散(Diverging)调色板,用于编码围绕中心中性值的有序/数值信息,即颜色从中性向两个极端发散的情况。为了辅助这些调色板的选择和应用,该包还包含用于 ggplot2 的标度、用于交互式探索的 shiny(和 tcltk)应用、调色板属性的可视化、配套的操作工具(如去饱和和变亮/变暗),以及色觉缺陷的模拟。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑