Find corresponding legend entry for graphical element
textString = find_legendentry(graphicalElement, legends)
struct with element for which the legend entry shall be found
cell containing all legends
legend entry text string found
Find the corresponding legend entry for graphical element in legends and returns the text string.