From p.dalgaard@biostat.ku.dk  Thu Jul 12 00:04:38 2001
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 12 Jul 2001 01:04:38 +0200
Subject: [Rd] Extra lines when bty="n" (PR#1021)
In-Reply-To: ce@biostat.ku.dk's message of "Wed, 11 Jul 2001 23:23:54 +0200 (MET DST)"
References: <200107112123.XAA18465@pubhealth.ku.dk>
Message-ID: <x21ynn2hkp.fsf@blueberry.kubism.ku.dk>

ce@biostat.ku.dk writes:

> For some reason two extra lines keep appearing 
> when making graphics with no box, bty="n" (a vertical line
> along the leftmost side of the graphics region and a horizonal 
> line along the bottom side). The lines are very visible if the 
> plot is saved as a postscript file and is later included in 
> a document.
> 
> Example code:
> 
> # postscript("test.ps")
> y <- rnorm(100)
> par(mar=c(0,0,0,0), bty="n")
> plot(y)
> # dev.off()

You're seeing the top of the axes, which the mar=c(0,0,0,0) doesn't
quite chop off. (try it with mar=c(1,1,1,1)). You want axes=F
rather than the bty="n" setting.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Extra lines when bty="n" (PR#1021)
Peter Dalgaard BSA