[R] Setting ylim while plotting an 'its' object

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Feb 19 11:20:09 CET 2004


It looks like you need to set yrange, not ylim: see ?itsDisp.  I don't see 
a good reason for this.

On Thu, 19 Feb 2004, Marcel Sutter wrote:

> Hi,
> 
> I have an object 'sat' of class 'its'.
> How do I have to set the ylim parameter to change the y Axis limits 
> while plotting a time series?
> 
> Thanks very much for your help, Marcel
> 
>  > class(sat)
> [1] "its"
> attr(,"package")
> [1] "its"
>  > range(sat)
> [1] -0.5908360386  0.0001541759
>  > plot(sat,type="p",pch=3,cex=0.5,ylim=c(-1,0.5))
> Error in plot.default(x, y, xaxt = "n", xlab = xlab, axes = axes, 
> frame.plot = frame.plot,  :
>     formal argument "ylim" matched by multiple actual arguments
> 
>  > R.version
>          _               
> platform i686-pc-linux-gnu
> arch     i686            
> os       linux-gnu       
> system   i686, linux-gnu 
> status                   
> major    1               
> minor    8.1             
> year     2003            
> month    11              
> day      21              
> language R               
>  >
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 
> 

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list