The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Title: CET Perceptually Uniform Colour Maps
Version: 0.2.0
Description: Collection of perceptually uniform colour maps made by Peter Kovesi (2015) "Good Colour Maps: How to Design Them" <doi:10.48550/arXiv.1509.03700> at the Centre for Exploration Targeting (CET).
Depends: R (≥ 3.3.0)
License: CC BY-SA 4.0
URL: https://github.com/coatless/cetcolor, http://thecoatlessprofessor.com/projects/cetcolor/, http://peterkovesi.com/projects/colourmaps/
BugReports: https://github.com/coatless/cetcolor/issues
Encoding: UTF-8
LazyData: true
Suggests: knitr, rmarkdown
VignetteBuilder: knitr
RoxygenNote: 6.0.1
NeedsCompilation: no
Packaged: 2018-07-10 15:25:40 UTC; jjb
Author: James Balamuta ORCID iD [aut, cre, cph], Peter Kovesi [cph] (Creator of CET Color Maps)
Maintainer: James Balamuta <balamut2@illinois.edu>
Repository: CRAN
Date/Publication: 2018-07-10 16:30:03 UTC

cetcolor: CET Perceptually Uniform Colour Maps

Description

Collection of perceptually uniform colour maps made by Peter Kovesi (2015) "Good Colour Maps: How to Design Them" <arXiv:1509.03700> at the Centre for Exploration Targeting (CET).

Details

56 Colour maps are available as of May 2018

Author(s)

Maintainer: James Balamuta balamut2@illinois.edu (0000-0003-2826-8458) [copyright holder]

Other contributors:

See Also

Useful links:


RGB Value Map of the CET Perceptually Uniform Colour Maps

Description

A list of data.frames that have the RGB values of the CET Perceptually Uniform Colour Maps as released in May 2018 with the original maps released in June 2016.

Usage

cet_color_maps

Format

A list with each entry coded as a data frame with 256 observations and 3 variables:

The following color maps have been included:

Cyclic Colour Maps

Diverging Colour Maps

Isoluminant Colour Maps

Linear Colour Maps

Rainbow Colour Maps

Colour Blind

Source

http://peterkovesi.com/projects/colourmaps/CETperceptual_csv_0_1.zip

References

http://peterkovesi.com/projects/colourmaps/


CET Perceptually Uniform Color Maps

Description

Extract n RGB Hexadecimal colors from the perceptually uniform color maps developed by Peter Kovesi.

Usage

cet_pal(n, name = "rainbow", alpha = 1)

Arguments

n

A numeric value greater than one indicating how many colors to use from the color map.

name

A string indicating the color map to use. There are 51 options available. Please see cet_color_maps() for more information. By default, the "rainbow" color scheme is used.

alpha

A numeric value between [0, 1] that indicates the level of transparency.

Value

A character vector containing the RGB hexadecimal representation of the requested color map.

References

Peter Kovesi. Good Colour Maps: How to Design Them. arXiv:1509.03700 cs.GR 2015

Examples

# Grab 8 colors from rainbow or rainbow_bgyr_35-85_c73_n256
colors = cet_pal(8)
plot(1:8, 1:8, col=colors, pch=19, cex=3, xlab="", ylab="")

# Grab 25 colors from coolwarm or diverging_bwr_40-95_c42_n256
colors = cet_pal(25, name = "coolwarm")
plot(1:25, 1:25, col=colors, pch=19, cex=3, xlab="", ylab="")


Display CET Color Maps

Description

Offers a variety of ways to preview CET Color Maps.

Usage

display_cet_pal(n = 256, name = "rainbow", alpha = 1)

display_cet_attribute(n = 256, attribute = "rainbow", alpha = 1)

display_cet_all(n = 256, alpha = 1)

Arguments

n

A numeric value greater than one indicating how many colors to use from the color map.

name

A string indicating the color map to use. There are 51 options available. Please see cet_color_maps() for more information. By default, the "rainbow" color scheme is used.

alpha

A numeric value between [0, 1] that indicates the level of transparency.

attribute

A character string indicating the attribute. Accepted values are: "rainbow" (Default), "linear", "diverging", "cyclic" "isoluminant", and "colorblind".

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.