<< field_iterator Generate Tikz Strings generate_color_string >>

xs2tikz >> xs2tikz > Generate Tikz Strings > find_legendentry

find_legendentry

Find corresponding legend entry for graphical element

Syntax

textString = find_legendentry(graphicalElement, legends)

Parameters

graphicalElement:

struct with element for which the legend entry shall be found

legends:

cell containing all legends

textString:

legend entry text string found

Description

Find the corresponding legend entry for graphical element in legends and returns the text string.

Examples

choose_plot_example("simple");
attributes = gather_graphic_attribues();
ts = find_legendentry(attributes.polylines{1} attributes.legends)

Authors


Report an issue
<< field_iterator Generate Tikz Strings generate_color_string >>