theme_grey2_nomargins {figuRes2} | R Documentation |
figuRes2 themes
Description
Adapts theme_grey() found in ggplot2
Usage
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 = "")
Arguments
base_size |
used in set_theme calls |
base_family |
used in set_theme calls |
Details
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")
Value
The returns a function that can be passed to ggplot2::theme_set
Functions
-
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
Author(s)
Greg Cicconetti
Examples
{
ggplot2::theme_set(theme_grey2_nomargins())
}