ocha_pal: ocha palette with ramped colours

Description Usage Arguments Examples

Description

ocha palette with ramped colours

Usage

1
ocha_pal(palette = "blue", alpha = 1, reverse = FALSE)

Arguments

palette

Choose from 'ocha_palettes' list

alpha

transparency

reverse

If TRUE, the direction of the colours is reversed.

Examples

1
2
3
4
library(scales)
show_col(ocha_pal("blue")(7))

filled.contour(volcano, color.palette = ocha_pal(), asp = 1)

mmusori/ochathemes documentation built on May 29, 2019, 8:36 a.m.