Displaying 1 result from an estimated 1 matches for "legendnam".
Did you mean:
legendname
2009 Dec 11
1
Array of legend text with math symbols from predefined variables
...text with math symbols from a predefined
character variable that is read in from a file.
?
If there is only one line of text in the legend, the following, although
cumbersome, works for me:
? > LegendText = " 'U' [infinity], '=10 m/s' "?? # (read in from a file)
??> LegendName = paste("bquote(paste(",LegendText, "))")
? > 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
? > le...