| scale_shape_cleveland | R Documentation |
Shape scales from Cleveland "Elements of Graphing Data"
scale_shape_cleveland(overlap = TRUE, ..., unicode = FALSE)
overlap |
|
... |
Arguments passed on to
|
unicode |
If |
A ggplot2 scale object.
Cleveland WS. The Elements of Graphing Data. Revised Edition. Hobart Press, Summit, NJ, 1994, pp. 154-164, 234-239.
cleveland_shape_pal() for a description of the palette.
Other shapes:
circlefill_shape_pal(),
cleveland_shape_pal(),
scale_shape_circlefill(),
scale_shape_tremmel(),
tremmel_shape_pal()
library("ggplot2")
ggplot(mtcars, aes(x = wt, y = mpg, shape = factor(gear))) +
geom_point(size = 3) +
scale_shape_cleveland()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.