circlefill_shape_pal: Filled Circle Shape palette (discrete)

Description Usage Details References See Also Examples

View source: R/shapes.R

Description

Shape palette with circles varying by amount of fill. This uses the set of 3 circle fill values in Lewandowsky and Spence (1989): solid, hollow, half-filled, with two additional fill amounts: three-quarters, and one-quarter.

Usage

1

Details

This palette supports up to five values.

References

Lewandowsky, Stephan and Ian Spence (1989) "Discriminating Strata in Scatterplots", Journal of the American Statistical Association, https://www.jstor.org/stable/2289649

See Also

Other shapes: cleveland_shape_pal(), scale_shape_circlefill(), scale_shape_cleveland(), scale_shape_tremmel(), tremmel_shape_pal()

Examples

1
2
3
4
5
6
7
8
9
library("ggplot2")

p <- ggplot(mtcars, aes(x = mpg, y = hp, shape = factor(cyl))) +
 geom_point()

p + scale_shape_tremmel()
p + scale_shape_circlefill()
p + scale_shape_cleveland()
p + scale_shape_cleveland(overlap = TRUE)

Example output



ggthemes documentation built on Jan. 20, 2021, 5:05 p.m.