Description Usage Arguments Details Fields and Methods Author(s) References See Also
Package: R.colors
Class HclColor
Object
~~|
~~+--
Color
~~~~~~~|
~~~~~~~+--
ThreeDimensionalColor
~~~~~~~~~~~~|
~~~~~~~~~~~~+--
HclColor
Directly known subclasses:
public static class HclColor
extends ThreeDimensionalColor
Class representing colors in the (hue,chroma,luminance) space.
Internally all colors are represented as (hue,chroma,luminance) in [0,1]x[0,1]x[0,1].
1 |
hue |
A |
chroma |
(colorfulness) A |
luminance |
A |
maxColorValue |
A |
correctOutOfRange |
By default, if |
Moreover, the number of colors will be the same as the length of the
longest vector
of the above. If some of the other vectors are shorter,
their values will be looped over to get equal lengths.
The creation of this Color class was strongly inspired by Ross Ihaka's talk at DSC-2003 [1]
Methods:
getColors | Gets the set of colors in the \#rrggbb format. | |
plotParallel | - | |
Methods inherited from ThreeDimensionalColor:
getColorSpace, plot3d
Methods inherited from Color:
[, as.character, display, drawColorRamp, getColorFilter, getColors, getColorSpace, length, palette, plotParallel, seq, setColorFilter, viewThroughColorFilter
Methods inherited from Object:
$, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clone, detach, equals, extend, finalize, gc, getEnvironment, getFields, getInstantiationTime, getStaticInstance, hasField, hashCode, ll, load, objectSize, print, registerFinalizer, save
Henrik Bengtsson (http://www.braju.com/R/)
[1] Ross Ihaka, Colour for Presentation Graphics, Proceedings of the
3rd International Workshop on Distributed Statistical Computing (DSC 2003),
March 20-22, 2003, Technische Universität Wien, Vienna, Austria.
http://www.ci.tuwien.ac.at/Conferences/DSC-2003/.
[2] Ross Ihaka, Perceptually-Based Color Choices,
webpage, http://www.stat.auckland.ac.nz/~ihaka/colour/
[3] Ross Ihaka, Statistics 120 - Information Visualisation,
webpage, http://www.stat.auckland.ac.nz/~ihaka/120/.
See also hcl
in the colorspace
package [1-3].
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.