ptt_pal: Color palette PTT.

View source: R/palettes.R

ptt_palR Documentation

Color palette PTT.

Description

Color palette for PTT (discrete).

Usage

ptt_pal(n = NULL)

ptt_pal_lg(n = NULL)

Arguments

n

A number of colour needed.

Details

Palette of colours "darkolivegreen4", "cornflowerblue", "darkorange2", "coral4", "mediumpurple3", "grey50". Recycled if needed (with warning).

Functions

  • ptt_pal_lg: PTT palette with last colour grey.

See Also

Other ggptt_pal: aw_pal(), ggptt_pal(), vnk_pal()

Examples

 scales::show_col(ptt_pal(6))
 scales::show_col(ptt_pal_lg(5))

pttry/ggptt documentation built on May 4, 2023, 2:48 p.m.