Learn R Programming

aqp (version 1.27)

plotColorMixture: Visualize Spectral Mixing of Munsell Colors

Description

Lattice visualization demonstrating subtractive mixtures of colors in Munsell notation and associated spectra.

Usage

plotColorMixture(
  x,
  w = rep(1, times = length(x))/length(x),
  swatch.cex = 6,
  label.cex = 0.85
)

Arguments

x

vector of colors in Munsell notation

w

vector of proportions, can sum to any number

swatch.cex

scaling factor for color swatch

label.cex

scaling factor for swatch labels

Value

lattice graphics object