[Rd] Bizarre clipping with abline and points (PR#1095)
J.C.Rougier@durham.ac.uk
J.C.Rougier@durham.ac.uk
Wed, 19 Sep 2001 15:48:47 +0200 (MET DST)
I want to put some points along the horizontal axis.
> plot(1:10, 1:10)
> points(4, par("usr")[3], xpd=TRUE)
> abline(v=5)
works fine for me. But if I try
> plot(1:10, 1:10)
> abline(v=5)
> points(4, par("usr")[3], xpd=TRUE)
then the points are clipped. The call to abline seems to be
enforcing xpd=FALSE for later calls to the plot.
Cheers, Jonathan.
--please do not edit the information below--
Version:
platform = i686-pc-linux-gnu
arch = i686
os = linux-gnu
system = i686, linux-gnu
status =
major = 1
minor = 3.1
year = 2001
month = 08
day = 31
language = R
Search Path:
.GlobalEnv, Autoloads, package:base
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._