[R] legends on the outside of the "box"
ligges at statistik.uni-dortmund.de
Fri Aug 20 09:02:31 CEST 2004
Laura Holt wrote:
> Hi R People:
> Here is a simple set of commands:
>> x1 <- 1:10
>> x2 <- sqrt(x1)
> Now, I would like to put the legend box on the outside of the plot
> itself, perhaps in the lower
> left hand corner.
Set par(xpd=NA) before trying to place it there. See ?par for details.
> I've been messing with mtext, but to no avail.
> Any help would be much appreciated.
> R Version 1.9.1 Windows
> Laura Holt
> mailto: lauraholt_983 at hotmail.com
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide!
More information about the R-help