ch.getHSVcolors: A function to create unique hsv colors to be plotted

ch.getHSVcolorsR Documentation

A function to create unique hsv colors to be plotted

Description

This function creates unique hsv colors to be plotted.

Usage

ch.getHSVcolors(numColors, maxIntensityChanges = 8, maxHueChanges = 10)

Arguments

numColors

the number of colors to be returned.

maxIntensityChanges

the maximum number of distinguishable intensity changes. DEFAULT = 8.

maxHueChanges

the maximum number of distinguishable hue changes. DEFAULT = 10.

Value

an dataframe containing nRow=numColors and h, s, v columns specifying colors.

Examples

ch.getHSVcolors(10)

ccpluncw/ccpl_R_chutils documentation built on Feb. 28, 2024, 1:17 a.m.