Last chance! 50% off unlimited learning
Sale ends in
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.
circlefill_shape_pal()
Lewandowsky, Stephan and Ian Spence (1989) "Discriminating Strata in Scatterplots", Journal of the American Statistical Assocation, http://www.jstor.org/stable/2289649
Other shapes: cleveland_shape_pal
,
scale_shape_circlefill
,
scale_shape_cleveland
,
scale_shape_tremmel
,
tremmel_shape_pal
# NOT RUN {
library("ggplot2")
(ggplot(mtcars, aes(x=mpg, y=hp, shape=factor(cyl)))
+ geom_point() + scale_shape_tremmel())
# }
Run the code above in your browser using DataLab