Description Usage Arguments Details See Also Examples
A complete, minimal theme to be used with the ggplot2
package
1 2 3 |
base_size |
base font size |
base_family |
base font family |
black |
Values from 0 to 255, indicating the darkest line and text colors (255). |
margin_add |
additive adjustment of margin spacing and tick length (in "pt" units). May be positive or negative. |
debug |
Add debug info to text. |
FUN |
Call a function before returning the theme elements. |
... |
Arguments passed to |
You can use theme_update
to change some aspect of this theme after
using theme_set
.
mejr_geom_defaults, ggplot2::theme_update, ggplot2::theme_set
1 2 3 4 5 6 7 8 | library(ggplot2)
theme_set(theme_mejr(debug = TRUE))
example_plot()
theme_set(theme_mejr())
theme_update(axis.text = element_blank()) # any updates can go here
example_plot()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.