chroma_slice: Plot all colours with the same chroma

Description Usage Arguments Value Examples

Description

Plots slices of the Munsell colour system where chroma is constant.

Usage

1
chroma_slice(chroma.name = seq(0, 26, by = 2), back.col = "white")

Arguments

chroma.name

integer vector of the desired values.

back.col

colour for the background

Value

ggplot object

Examples

1
2
3
4
5
6
7
8
9
chroma_slice(2)
chroma_slice(18)
# Maybe want to delete text and add axis instead
p <- chroma_slice(18)
p$layers[[2]] <- NULL # remove text layer
p + ggplot2::theme(axis.text = ggplot2::element_text(), 
   axis.text.x = ggplot2::element_text(angle = 90, hjust = 1))
# all values 
## Not run: chroma_slice(seq(0, 38, by = 2))

Example output

Warning message:
Removed 110 rows containing missing values (geom_text). 

munsell documentation built on May 2, 2019, 5:57 a.m.