Learn R Programming

ggthemes (version 2.1.0)

scale_fill_excel: Excel color scales

Description

Color scales from both old and new Excel.

Usage

scale_fill_excel(palette = "fill", ...)

scale_colour_excel(palette = "line", ...)

scale_color_excel(palette = "line", ...)

Arguments

palette
One of "old", "fill", or "new".
...
Other arguments passed on to discrete_scale to control name, limits, breaks, labels and so forth.

See Also

See theme_excel for examples.

Other colour excel: excel_pal

Examples

Run this code
dsamp <- diamonds[sample(nrow(diamonds), 1000), ]
(qplot(carat, price, data=dsamp, colour=clarity)
 + theme_igray()
 + scale_colour_excel("new"))

Run the code above in your browser using DataLab