Skip to content
Back to formatted view

Raw Message

Message-ID: <20001118160337.A28534@sirio.stat.unipd.it>
Date: 2000-11-18T15:03:37Z
From: Guido Masarotto
Subject: A simple (hopefully) question about Plot's ylim
In-Reply-To: <4.3.1.0.20001119010544.00abd260@mail.austasia.net>; from philr@mail.austasia.net on Sun, Nov 19, 2000 at 01:13:20AM +0000

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