sg_annotate: Add text annotation to streamgraph

Description Usage Arguments

View source: R/annotate.r

Description

Use this function to place text at any point on a streamgraph. This is especially useful for non-interactive streamgraphs (i.e. to label a particular stream).

Usage

1
sg_annotate(sg, label, x, y, color = "black", size = 12)

Arguments

sg

streamgraph object

label

text for the annotation

x

horizontal position

y

vertical position

color

color of the label

size

font size


hrbrmstr/streamgraph documentation built on May 17, 2019, 5:14 p.m.