add_draft: Add draft layer annotation

View source: R/utils.R

add_draftR Documentation

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,
  ...
)

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 June 18, 2022, 1:05 a.m.