[Rd] legend does not reset xpd (PR#12756)

mark_difford at Yahoo.co.uk mark_difford at Yahoo.co.uk
Tue Sep 9 15:15:07 CEST 2008


Full_Name: Mark Difford
Version: R version 2.7.2 Patched (2008-08-26 r46442)
OS: Windows -- Vista
Submission from: (NULL) (198.54.202.146)


legend(graphics) does not reset xpd to its pre-call state when it has finished
drawing the legend.

## Ex.
par(xpd = FALSE)
plot(1)
legend("top", legend="Tops", xpd=NA, inset=c(-.1))
plot(1); abline(v=1); par(xpd=FALSE)
plot(1)



More information about the R-devel mailing list