Learn R Programming

ggthemes (version 3.2.0)

tableau_seq_gradient_pal: Tableau sequential colour gradient palettes (continuous)

Description

Tableau sequential colour gradient palettes (continuous)

Usage

tableau_seq_gradient_pal(palette = "Red", space = "Lab")

Arguments

palette
Palette name. See ggthemes_data$tableau$sequential.
space
Colour space in which to calculate gradient.

See Also

Other colour tableau: scale_colour_gradient2_tableau, scale_colour_gradient_tableau, scale_colour_tableau, tableau_color_pal, tableau_div_gradient_pal

Examples

Run this code
library("scales")
x <- seq(0, 1, length = 25)
show_col(tableau_seq_gradient_pal('Red')(x))
show_col(tableau_seq_gradient_pal('Blue')(x))
show_col(tableau_seq_gradient_pal('Purple Sequential')(x))

Run the code above in your browser using DataLab