theme_profinit | R Documentation |
The current version of the theme is based on ggplot2::theme_minimal()
not
tweaking any of its settings. Later on, the theme will be customised to
better fill our needs and preferences.
theme_profinit()
Ggplot2's theme object adjusted according to Profinit's preferences.
scale_fill_profinit and scale_color_profinit for Profinit color scales.
# default behavior
library(ggplot2)
iris_plt <- ggplot(iris, aes(x=Sepal.Length, fill=Species)) +
geom_density(alpha=.5) +
scale_fill_profinit()
iris_plt
# With profinit theme
iris_plt + theme_profinit()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.