Draws one opaque, wider copy of a stroked or point mark beneath the crisp
original in a contrasting colour, so the mark stays legible over a busy or
dark backdrop (the "sticker" look). Applies to the same marks as glow().
Arguments
- size
Halo width per side, in millimetres.
- color
Outline colour.
NULL(the default) is the theme's paper colour (element_geom()): white on a light theme, the dark canvas on a dark one such astheme_cyberpunk().- alpha
Outline opacity.
Examples
vplot(mtcars) |>
mark_point(x = wt, y = mpg, color = factor(cyl), size = 3,
effects = list(outline()))
