scale_fill_hypo_LG_bg: Set LG fill

Description Usage Arguments Details See Also Examples

View source: R/hypogen_basics.R

Description

scale_fill_hypo_LG_bg sets the color scheme for the LG background shading.

Usage

1
scale_fill_hypo_LG_bg(..., values = c(odd = NA, even = hypo_clr_lg))

Arguments

...

parameters passed to scale_hypobg_manual()

values

named string vector c(odd = ..., even = ...), color scheme for alternating linkage group background

Details

Fill values are set for tnhe two LG classes (even/odd LG nr).

! CAREFUL: LG fill values are set to "zz1" $ zz2. If additional fill levels exist, the fill values of the LGs should be appended to the desired fill scale.

See Also

geom_hypo_LG, scale_x_hypo_LG, scale_color_hypo_LG

Examples

1
2
3
4
5
6
ggplot() +
  geom_hypo_LG() +
  scale_fill_hypo_LG_bg(values = c(even = "#274263", odd = "#C09C60")) +
  scale_x_hypo_LG() +
  coord_cartesian(ylim = c(0, 1)) +
  theme_hypo()

k-hench/hypogen documentation built on April 14, 2021, 1:44 p.m.