Learn R Programming

metafolio (version 0.1.1)

gg_color_hue: ggplot2-like colour scale in HCL space

Description

ggplot2-like colour scale in HCL space

Usage

gg_color_hue(n, hue_min = 10, hue_max = 280, l = 62, c = 100)

Arguments

n

Number of colours to return.

hue_min

Minimum hue value in the range [0,360]

hue_max

Maximum hue value in the range [0,360]

l

Luminance in the range [0,100]

c

Chroma of the colour.

Value

A vector of colour values.

Details

See the hcl function for details.

Examples

Run this code
# NOT RUN {
gg_color_hue(10)
# }

Run the code above in your browser using DataLab