Examples for 'ggthemes::cleveland_shape_pal'


Shape palette from Cleveland "Elements of Graphing Data" (discrete).

Aliases: cleveland_shape_pal

Keywords:

### ** Examples

###   (discrete).


library("ggplot2")
p <- ggplot(mtcars) +
     geom_point(aes(x = wt, y = mpg, shape = factor(gear))) +
     facet_wrap(~am) +
     theme_bw()
# overlapping symbol palette
p + scale_shape_cleveland()
plot of chunk example-ggthemes-cleveland_shape_pal-1
# non-overlapping symbol palette
p + scale_shape_cleveland(overlap = FALSE)
plot of chunk example-ggthemes-cleveland_shape_pal-1

[Package ggthemes version 4.2.4 Index]