ggPMX (version 1.2.11)

add_draft: Add draft layer annotation

Description

This function adds the word draft to certain graphics.

Usage

add_draft(
  label = "DRAFT",
  size = 10,
  colour = "grey50",
  x = Inf,
  y = -Inf,
  ...
)

Value

ggplot2 annotation

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