Visualize Spectral Mixing of Munsell Colors
Lattice visualization demonstrating subtractive mixtures of colors in Munsell notation and associated spectra.
plotColorMixture( x, w = rep(1, times = length(x))/length(x), n = 1, swatch.cex = 6, label.cex = 0.85, showMixedSpec = FALSE, overlapFix = TRUE )
x |
vector of colors in Munsell notation, should not contain duplicates |
w |
vector of proportions, can sum to any number |
n |
number of closest mixture candidates (see |
swatch.cex |
scaling factor for color swatch |
label.cex |
scaling factor for swatch labels |
showMixedSpec |
show weighted geometric mean (mixed) spectra as dotted line |
overlapFix |
attempt to "fix" overlapping chip labels via |
lattice
graphics object
D.E. Beaudette
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.