fun_annot: Add annotation

Description Usage Arguments Examples

View source: R/annotations.R

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 March 19, 2018, 5:07 a.m.