add_draft: Add draft layer annotation

Description Usage Arguments Value

View source: R/utils.R

Description

This function adds the word draft to certain graphics.

Usage

1
2
3
4
5
6
7
8
add_draft(
  label = "DRAFT",
  size = 10,
  colour = "grey50",
  x = Inf,
  y = -Inf,
  ...
)

Arguments

label

draft layer default to DRAFT

size

size of the annotation

colour

color of the annotation default to grey50

x

numeric x coordinate of the draft label

y

numeric y coordinate of the draft label

...

extra parameters to geom text used to annotate the draft

Value

ggplot2 annotation


ggPMX documentation built on May 29, 2021, 5:06 p.m.