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

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

chroma_slice(2)

chroma_slice(18)
#> Warning: Removed 110 rows containing missing values or values outside the scale range
#> (`geom_text()`).

# 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 
if (FALSE) chroma_slice(seq(0, 38, by = 2)) # \dontrun{}