inzpalette {iNZightPlots} | R Documentation

## 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

### Author(s)

Tom Elliott

### Examples

    plot(1:5, pch = 19, col = inzpalette("bright")(5))

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

[Package iNZightPlots version 2.14.1 Index]