Skip to content
Prev 169582 / 398506 Next

Tables in legend

This will probably do what you need:

plot(1)
x <- 1:10  # numbers for the legend
blah <- LETTERS[1:5]
legendData <- character(5)
for (i in 1:5)
    legendData[i] <- sprintf("Blah-%s %d %d", blah[i], x[2*i - 1], x[2*i])
legend('topright', legend=legendData)
On Fri, Feb 6, 2009 at 6:57 PM, Vemuri, Aparna <avemuri at epri.com> wrote: