Description Usage Arguments See Also Examples
See pub_shapes
for details.
1 | scale_shape_pub(palette = "pub", ...)
|
palette |
the palette name, a character string. |
... |
common discrete scale parameters: |
Other shape pub: pub_shapes
1 2 3 4 5 6 7 | library("ggplot2")
library("scales")
p <- ggplot(mtcars) +
geom_point(aes(x = wt, y = mpg, shape = factor(gear))) +
facet_wrap(~am)
p + scale_shape_pub()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.