[Rd] rug() extends axes instead of clipping (PR#442)

Paul Murrell paul@stat.auckland.ac.nz
Mon, 21 Feb 2000 15:26:45 +1300


----- Original Message -----
From: <berwin@maths.uwa.edu.au>
To: <r-devel@stat.math.ethz.ch>
Cc: <R-bugs@biostat.ku.dk>
Sent: Wednesday, February 16, 2000 10:37 PM
Subject: [Rd] rug() extends axes instead of clipping (PR#442)


> Dear R developers,
>
> I noticed that rug() may extend the line of the horizontal axis beyond
> the left and right vertical axes.  The following snippet illustrates
> the problem:
>
> set.seed(2241)
> dat <- rnorm(10)
> plot(c(-2,2),c(0,0.5),type="n", xlab="", ylab="")
> rug(dat)
>
> The problem seems to be that:
> > range(dat)
> [1] -2.739635  1.037512
>
> Cheers,
>
>         Berwin
>
> --please do not edit the information below--
>
> Version:
>  platform = i686-unknown-linux
>  arch = i686
>  os = linux
>  system = i686, linux
>  status = Patched
>  major = 0
>  minor = 99.0
>  year = 2000
>  month = February
>  day = 9
>  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
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._
>

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._