[R] A simple (hopefully) question about Plot's ylim

Guido Masarotto guido at sirio.stat.unipd.it
Sat Nov 18 16:03:37 CET 2000


On Sun, Nov 19, 2000 at 01:13:20AM +0000, Phil Rhoades wrote:
> I have a graph of a variable that fluctuates around 1.1 - for a couple of 
> reasons it is better to have the graph range from 0.0 to 1.2 but when I try 
> to use the ylim=range(..) argument to plot it insists on using whole 
> numbers for the range - so I can use: 0.0 - 2.0 and 0.2 - 1.2 but not 0.0 - 
> 1.2  .
> 
> Is there something I am missing or is this not possible?
> 

  If I understand the question,

  > plot(...,ylim=c(0.0,1.2),yaxs="i")

  should do what you want.

  guido
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list