theme_profinit {profiplots}R Documentation

Profinit ggplot theme

Description

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.

Usage

theme_profinit()

Value

Ggplot2's theme object adjusted according to Profinit's preferences.

See Also

scale_fill_profinit and scale_color_profinit for Profinit color scales.

Examples

# 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()


[Package profiplots version 0.2.3 Index]