Tiled Grob background for ggplot
theme_gradient_bg_x( xlim_in, colors = c("#7B0664", "#E32219"), fun = identity, step = 1, ... )
| xlim_in | numeric vector, x range of ggplot |
|---|---|
| colors | string vector, colors to use for background gradients |
| fun | function, x transformation function |
| step | numeric, step width for x breaks (after transformation) |
| ... | catch all parameter, for usage with purrr::pmap() and unexpected parameters |