Package: painbow 1.0.1

Steve Haroz

painbow: Use XKCD's "Painbow" Colormap and Dataset in ggplot2

XKCD described a supposedly "bad" colormap that it called a "Painbow" (see <https://xkcd.com/2537/>). But simple tests demonstrate that under some circumstances, the colormap can perform very well, and people can find information that is difficult to detect with the ggplot2 default and even supposedly "good" colormaps like viridis. This library let's you use the Painbow in your own ggplot graphs.

Authors:Steve Haroz

painbow_1.0.1.tar.gz
painbow_1.0.1.zip(r-4.5)painbow_1.0.1.zip(r-4.4)painbow_1.0.1.zip(r-4.3)
painbow_1.0.1.tgz(r-4.4-any)painbow_1.0.1.tgz(r-4.3-any)
painbow_1.0.1.tar.gz(r-4.5-noble)painbow_1.0.1.tar.gz(r-4.4-noble)
painbow_1.0.1.tgz(r-4.4-emscripten)painbow_1.0.1.tgz(r-4.3-emscripten)
painbow.pdf |painbow.html
painbow/json (API)
NEWS

# Install 'painbow' in R:
install.packages('painbow', repos = c('https://steveharoz.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/steveharoz/painbow/issues

Datasets:

On CRAN:

4.31 score 41 stars 3 scripts 139 downloads 4 exports 28 dependencies

Last updated 3 years agofrom:044109f135. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 09 2024
R-4.5-winOKNov 09 2024
R-4.5-linuxOKNov 09 2024
R-4.4-winOKNov 09 2024
R-4.4-macOKNov 09 2024
R-4.3-winOKNov 09 2024
R-4.3-macOKNov 09 2024

Exports:painbow_colorsscale_color_painbowscale_colour_painbowscale_fill_painbow

Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
An array of colors from XKCD's painbow comicpainbow_colors
A 2D heatmap from XKCD's painbow comicpainbow_data
Painbow colormapscale_color_painbow scale_colour_painbow scale_fill_painbow