add_suffix: Recursively update all names in a grobTree by adding a suffix...

View source: R/utils.R

add_suffixR Documentation

Recursively update all names in a grobTree by adding a suffix to the name

Description

If two grobs in a plot have the same name, then it is not guaranteed that both will be drawn. This function ensures that every grob in a tree has a unique name.

Usage

add_suffix(x, suffix)

Arguments

x

grobTree

suffix

string

Value

new grobTree


coolbutuseless/ggsvg documentation built on Sept. 14, 2024, 5:48 p.m.