fun_annot: Add annotation

Description Usage Arguments Examples

Description

Add annotation.

Usage

1
fun_annot(p, x = NULL, y = NULL, text = NULL)

Arguments

p

Plot as initialised by funplot.

x, y

coordinate.

text

annotation.

Examples

1
2
3
4
funplot() %>%
  fun_add("x^2") %>%
  fun_annot(x = 1, text = "x = 1") %>%
  fun_annot(y = 2, text = "y = 2")

JohnCoene/funplot documentation built on May 26, 2019, 7:28 a.m.