watermark_txt: Add a watermark text

Description Usage Arguments Value

Description

Add a watermark text

Usage

1
watermark_txt(txt, x, y, location = "br", rot = 0, ...)

Arguments

txt

the text to display

x

the x location of the watermark (0-1 scale)

y

the y location of the watermark (0-1 scale)

location

one of tr (top right), tl (top left), bl (bottom left), br (bottom right), center (view center)

rot

the rotation of the text

...

arguments passed to grid::gpar() (e.g. alpha)

Value

a ggplot object


Bart6114/artyfarty documentation built on May 5, 2019, 10:26 a.m.