Minimal theme for marimekko plots
theme_marimekko.RdRemoves x-axis gridlines and adjusts spacing for mosaic plots. Also applies the marimekko_pal fill scale.
Arguments
- base_size
Base font size. Default
12.- ...
Arguments passed to
ggplot2::theme_minimal().
Examples
library(ggplot2)
titanic <- as.data.frame(Titanic)
ggplot(titanic) +
geom_marimekko(
aes(fill = Survived, weight = Freq),
formula = ~ Class | Survived
) +
theme_marimekko()