color_10: 10 discrete colors from python's matplotlib

Description Usage Arguments Value Examples

View source: R/plotting.R

Description

10 discrete colors from python's matplotlib

Usage

1
color_10(n = 2, select = NULL)

Arguments

n

return 1:n from set of 10

select

index from the set of 10

Value

hex color codes

Examples

1
2
3
4
5
6
color_10()
color_10(3)
color_10(select=c('blue', 'yellow', 'red', 'green', 'cyan',
'orange', 'pink', 'purple', 'brown', 'gray'))
show_colors(color_10(10), F)
show_colors(color_10(select = c(4, 3, 1, 10, 7, 9)))

iamamutt/mejr documentation built on May 18, 2019, 1:27 a.m.