Change the label of a glyph. Note that the label is only displayed in the glyph inspector.

l_glyph_relabel(widget, id, label)

Arguments

widget

widget path as a string or as an object handle

id

glyph id

label

new label

See also

Examples

p <- l_plot(iris, color = iris$Species) g <- l_glyph_add_text(p, iris$Species, "test_label") p['glyph'] <- g l_glyph_relabel(p, g, "Species")