palettes | R Documentation |
Create a single colour or a vector of n contiguous colours taken from depthmapX.
depthmap.classic.colour(n)
depthmap.axmanesque.colour(n)
depthmap.purpleorange.colour(n)
depthmap.bluered.colour(n)
depthmap.grayscale.colour(n)
depthmap.nicehsb.colour(n)
makeDepthmapClassicColour(value, rangeMin, rangeMax)
makeAxmanesqueColour(value, rangeMin = 0, rangeMax = 1)
makePurpleOrangeColour(value, rangeMin = 0, rangeMax = 1)
makeBlueRedColour(value, rangeMin = 0, rangeMax = 1)
makeGreyScaleColour(value, rangeMin = 0, rangeMax = 1)
makeNiceHSBColour(value, rangeMin = 0, rangeMax = 1)
n |
Numer of colours to generate |
value |
The number to generate the colour from |
rangeMin |
The min value of the range |
rangeMax |
The max value of the range |
Returns a single colour or a vector of colours.
Petros Koutsolampros Fani Kostourou
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.