Delete comment from: One R Tip A Day
Paolo said...
My guess:
you have to find appropriate coordinates for the legend. Use the locator(1) function:
?locator
legend(locator(1),legend=c("x","y","z"), col=c(1:3), lty=1)
And click twice over the desired position on the plot window.
HTH
Jun 19, 2009, 11:04:23 PM
Posted to Plotting two or more overlapping density plots on the same graph

