> If you replace this by > hcl$colour <- hcl(hcl$h, hcl$c, hcl$l, fixup = FALSE) > >> with(hcl, plot(x, y, col=colour, pch=20)) > > Then, the resulting "wheel" has three overlapping "holes" corresponding to > the colors previously fixed.
Oops, thanks for pointing that out. > Also, as hue/chroma correspond to polar coordinates in the UV plane of > CIELUV, it makes more sense to plot wheels in the hue/chroma plane for fixed > luminance. To draw a hue/luminance plane for fixed chroma is harder to > interpret geometrically. Oooh, I guess if I'd thought about that for a couple of seconds I would have a realised that! What are good values to use for luminance and chroma in that case? I can't seem to find a slice which gives me a decently wheel-like slice? Or should I just use fixup = TRUE, or accept that true colour wheels displayed on rgb monitors don't look like wheels? Hadley -- http://had.co.nz/ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.