Skip to content
Prev 164542 / 398503 Next

problem with legend

valeria pedrina wrote:
Hi Valeria,
The legend command should start with locator(1) using parentheses and 
not square brackets. This is probably just a typo in your email, or you 
wouldn't have gotten a legend at all. By default, the legend is placed 
with the upper left corner at the user coordinates specified. If you 
want to place it partly outside the plot, use par(xpd=TRUE) and 
box.col=(par"bg").

Jim