From mark_difford at Yahoo.co.uk  Tue Sep  9 15:15:07 2008
From: mark_difford at Yahoo.co.uk (mark_difford at Yahoo.co.uk)
Date: Tue,  9 Sep 2008 15:15:07 +0200 (CEST)
Subject: [Rd] legend does not reset xpd (PR#12756)
Message-ID: <20080909131507.D32F1282EFF6@mail.pubhealth.ku.dk>

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)



[Rd] legend does not reset xpd (PR#12756)
mark_difford at Yahoo.co.uk