iNZightPlots (version 2.12.4)

inzpalette: iNZight colour palette

Description

Used to obtain a colour palette of a given name. A list of available palettes can be obtained by `cat_palette_names()` and `cont_palette_names()`.

Usage

inzpalette(palette)

cat_palette_names()

cont_palette_names()

Arguments

palette

the name of a palette

Value

a colour palette function with single argument `n`

Functions

  • cat_palette_names: List of categorical colour palettes

  • cont_palette_names: List of continuous colour palettes

Examples

Run this code
# NOT RUN {
plot(1:5, pch = 19, col = inzpalette("bright")(5))

# for a list of palette names
cat_palette_names()
cont_palette_names()
# }

Run the code above in your browser using DataLab