palettes: Colour Palettes from depthmapX

palettesR Documentation

Colour Palettes from depthmapX

Description

Create a single colour or a vector of n contiguous colours taken from depthmapX.

Usage

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)

Arguments

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

Value

Returns a single colour or a vector of colours.

Author(s)

Petros Koutsolampros Fani Kostourou


orange-vertex/rdepthmap documentation built on May 30, 2024, 5:40 p.m.