[Rd] ylab in time series plot (PR#2869)

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Apr 29 15:03:03 MEST 2003


On 29 Apr 2003, Ed Kademan wrote:

> Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:
> 
> > And the bug is?
> > 
> > You got a correct plot, with a correct warning.
> > 
> > On Mon, 28 Apr 2003 kademan at phz.com wrote:
> > 
> > > You get a warning message when you specify a ylab parameter while
> > > plotting data whose x's are POSIXct values.  Apparently the
> > > `axis.POSIXct' method tries to reset the ylab---via the ...
> > > parameter---after it has already been set by higher level methods.
> 
> No.  The bug is that the warning is incorrect.
> 
> How do you specify a ylab parameter to a time series plot without
> generating a warning?

[This is not a time-series plot!  You are plotting against a date-time 
object, and this has nothing to do with a time series: the object does not 
even have to be in data order.]

You are not able to, but nowhere is it stated that you can -- so it is not 
a bug.

-- 
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-devel mailing list