palettes | R Documentation |
Create n contiguous colours taken from depthmapX.
depthmap.classic.colour(n, rangeMin = 0, rangeMax = 1)
depthmap.axmanesque.colour(n, rangeMin = 0, rangeMax = 1)
depthmap.purpleorange.colour(n, rangeMin = 0, rangeMax = 1)
depthmap.bluered.colour(n, rangeMin = 0, rangeMax = 1)
depthmap.grayscale.colour(n, rangeMin = 0, rangeMax = 1)
depthmap.nicehsb.colour(n, rangeMin = 0, rangeMax = 1)
n |
Number of colours to generate |
rangeMin |
The min value of the range |
rangeMax |
The max value of the range |
Returns a vector of colours.
depthmap.classic.colour(100, 0, 1)
depthmap.axmanesque.colour(100, 0, 1)
depthmap.purpleorange.colour(100, 0, 1)
depthmap.bluered.colour(100, 0, 1)
depthmap.grayscale.colour(100, 0, 1)
depthmap.nicehsb.colour(100, 0, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.