Displaying 1 result from an estimated 1 matches for "legendname1".
Did you mean:
legendname
2009 Dec 11
1
Array of legend text with math symbols from predefined variables
...gendText, "))")
? > plot( c(1,2,3), c(1,2,3) )
? > legend(?topleft?,1, eval(parse(text=LegendName)) )
?If I now have more than one line in a plot and hence want to include more
than one line of legendtext, I run into problems because
? > legend(?topleft?,1, c(
?eval(parse(text=LegendName1)),eval(parse(text=LegendName2)) ?)
will not result in evaluation of the character string but just a paste of
the string and
? > legend(?topleft?,1, eval(parse(text=c(LegendName1, LegendName2))) ?)
will only evaluate the first element of the array.
Am I trying to do the impossible or is my...