maddog_flavors: Prints all maddog flavors

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/maddog.R

Description

Prints all colors based on flavors of MD 20_20.

Usage

1
maddog_flavors(n, type, select, exact.n)

Arguments

n

set to NULL

type

set to"div" for geographical palettes, "seq" for the rainbow palette, or "all" for all palettes

select

set to NULL

exact.n

set to TRUE

Details

Prints all colors based on flavors of MD 20_20

Value

maddog_palettes prints all colors based on flavors of MD 20_20.

Author(s)

Simon Tye

References

http://www.ghettowine.com/maddog/

See Also

maddog

Examples

1
2
3
4
5
6
7
8
9
## Plot maddog palette
#ggplot() +
#  geom_point(data = iris, mapping = aes(x = Species, y = Sepal.Length, color = Species)) +
#  scale_color_manual(values = maddog("north", 3))
#  
## Plot maddog flavors
#ggplot() +
#  geom_point(data = iris, mapping = aes(x = Species, y = Sepal.Length, color = Species)) +
#  scale_color_manual(values = c(peachesandcream, purplerain, sourapple))

simontye/maddog documentation built on March 12, 2021, 4:16 a.m.