Learn R Programming

ggthemes (version 3.5.0)

scale_shape_tableau: Tableau shape scales

Description

See tableau_shape_pal for details.

Usage

scale_shape_tableau(palette = "default", ...)

Arguments

palette

Palette name. See ggthemes_data$tableau$shapes.

...

common discrete scale parameters: name, breaks, labels, na.value, limits and guide. See discrete_scale for more details

See Also

Other shape tableau: tableau_shape_pal

Examples

Run this code
# NOT RUN {
library("ggplot2")

p <- ggplot(mtcars) +
     geom_point(aes(x = wt, y = mpg, shape = factor(gear))) +
     facet_wrap(~am)
p + scale_shape_tableau()
# }

Run the code above in your browser using DataLab