EMIcolors: EMI Color Scheme

Description Usage Arguments Examples

Description

Returns a set of colors from the EMI template. Can return a list of colors, the EMI accent color (orange), or a faded range of colors.

Usage

1
2
3
4
5
6
7
8
EMIcolors(colors = 1, accentLoc = NA, ramp = 0, accent = NULL,
  order = NULL)

Navigantcolors(...)

Navigantcolors2(...)

CEcolors(...)

Arguments

colors

vector of numbers corresponding to EMI colors

accentLoc

numbers specifying index to replace with accent color

ramp

number of colors to interpolate - only works if length of colors is 1 (fade to black) or 2 (interpolate). Default is for no ramping.

accent

accent color. EMI Orange by default

order

ordered vector of colors. Default is the EMI color set.

Examples

1
2
3
barplot(rep(1,4), col=EMIcolors(rep(1,4), accentLoc = 3))
barplot(rep(1,10), col=EMIcolors(1:10)) # all EMI colors
barplot(rep(1,5), col=EMIcolors(1:2, ramp=5)) # for satisfaction

mnblonsky/REMI documentation built on May 23, 2019, 5:06 a.m.