[R] Legend

Filoche pmassicotte at hotmail.com
Thu Nov 24 16:49:59 CET 2011

Thank you for your precious help. It works fine.

However, what about if I have two entries in the legend?

I tryed:

legend('topright', inset = .05, title = 'light ratios', pch = c(21,22), 
     legend = c(substitute('Green/Red' ~~ R^2 == r2,
list(r2=r2)),substitute('Green/Red' ~~ R^2 == r2, list(r2=r2))),
     horiz = FALSE, pt.bg = c('gray', 'black'), cex = 0.75, 
     bg = 'white') 

But it does not work.


View this message in context: http://r.789695.n4.nabble.com/Legend-tp4103799p4104386.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list