Add a shaded rectangle behind a plot.

ggla_highlightarea(
  xmin = -Inf,
  xmax = Inf,
  ymin = -Inf,
  ymax = Inf,
  gla_theme = "default"
)

Arguments

xmin

lower x-extent of highlighted area, Default: -Inf

xmax

higher x-extent of highlighted area, Default: Inf

ymin

lower y-extent of highlighted area, Default: -Inf

ymax

higher y-extent of highlighted area, Default: Inf

gla_theme

Either "default" or "inverse", Default: 'default'

See also

Examples

if (FALSE) { if(interactive()){ #EXAMPLE1 } }