theme_grey2_nomargins | R Documentation |
Adapts theme_grey() found in ggplot2
theme_grey2_nomargins(base_size = 12, base_family = "") theme_grey2_default_margins(base_size = 12, base_family = "") theme_bw2_nomargins(base_size = 12, base_family = "") theme_bw2_default_margins(base_size = 12, base_family = "") theme_table_nomargins(base_size = 12, base_family = "")
base_size |
used in set_theme calls |
base_family |
used in set_theme calls |
axis.text colour changed from "grey50" to "black"; legend.position changed from "right" to "bottom"; legend.direction changed to "horizontal"; plot.margin changed from default unit(c(1, 1, 0.5, 0.5), "lines") to unit(c(0, 0, 0, 0), "in")
The returns a function that can be passed to ggplot2::theme_set
theme_grey2_default_margins()
: Same as theme_grey2_nomargins but with margins set to ggplot defaults, unit(c(1, 1, 0.5, 0.5), "lines")
theme_bw2_nomargins()
: Similar to theme_grey2
theme_bw2_default_margins()
: Similar to theme_bw_nomargins but with margins set to ggplot defaults, unit(c(1, 1, 0.5, 0.5), "lines")
theme_table_nomargins()
: alteration to theme_grey
Greg Cicconetti
{ ggplot2::theme_set(theme_grey2_nomargins()) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.