Adds an overlay to the existing plot

style_overlay(pic, border = NULL, fill = NULL, linewidth = 1, data = NULL)

Arguments

pic

Existing plot

border

Colour of border

fill

Colour of fill

linewidth

Width of border

data

Data to be shown in overlay (if NULL, taken from pic)