From p.dalgaard@biostat.ku.dk  Tue Mar 21 08:56:30 2000
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 21 Mar 2000 09:56:30 +0100
Subject: [Rd] barplot (PR#495)
In-Reply-To: skala@incoma.cz's message of "Tue, 21 Mar 2000 09:20:35 +0100 (MET)"
References: <200003210820.JAA22364@pubhealth.ku.dk>
Message-ID: <x2aejs66rl.fsf@blueberry.kubism.ku.dk>

skala@incoma.cz writes:

> > barplot(c(.1,.5,1), ylim=c(0,1))
> the y axis is drawn from 0.2 to 0.8, in:

> As I was notified earlier by Peter Dalgaard, "the axis settings use yaxs='i' 
> (or xaxs if horizontal) which sets the plot boundaries equal to the ylim 
> (stated or computed) and marks the axes "internally". The endpoints of the 
> axes are not considered to be internal."
> Sorry again if this is already reported.

I actually thought we had that one fixed, but obviously not ...
As usual, the workaround is to extend the ylim a tiny bit:

barplot(c(.1,.5,1), ylim=c(-.001,1.001))

-- 
   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] barplot (PR#495)
Peter Dalgaard BSA