Skip to content

problem with legend

2 messages · valeria pedrina, Jim Lemon

#
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