From ripley at stats.ox.ac.uk  Tue Apr 29 15:03:03 2003
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue Apr 29 15:03:18 2003
Subject: [Rd] ylab in time series plot (PR#2869)
In-Reply-To: <ulg8yttlb5u.fsf@phz.com>
Message-ID: <Pine.LNX.4.44.0304291401090.19444-100000@gannet.stats>

On 29 Apr 2003, Ed Kademan wrote:

> Prof Brian Ripley <ripley@stats.ox.ac.uk> writes:
> 
> > And the bug is?
> > 
> > You got a correct plot, with a correct warning.
> > 
> > On Mon, 28 Apr 2003 kademan@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@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


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