scale_colour_pru | R Documentation |
See pru_pal.
scale_colour_pru(...)
scale_color_pru(...)
scale_fill_pru(...)
... |
Arguments passed on to
|
library(ggplot2)
library(scales)
g <- ggplot(mpg[1:48,], aes(displ, hwy, colour = class)) +
geom_point()
g + scale_color_pru()
p <- ggplot(mpg[1:108,], aes(class)) +
geom_bar(aes(fill = manufacturer))
p + scale_fill_pru()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.