From dwinsemius at comcast.net  Mon Feb  1 19:42:30 2016
From: dwinsemius at comcast.net (David Winsemius)
Date: Mon, 1 Feb 2016 10:42:30 -0800
Subject: [Rd] In plot.ts,
	las=1 applies to ylab with multiple series and not to axis labels
In-Reply-To: <22191.14765.67073.41290@stat.math.ethz.ch>
References: <56AD2C6C.8090804@prodsyse.com>
	<22191.14765.67073.41290@stat.math.ethz.ch>
Message-ID: <96483F17-A3AA-46CD-8C11-6B289C849DBB@comcast.net>


> On Feb 1, 2016, at 2:55 AM, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
> 
>>>>>> Spencer Graves <spencer.graves at prodsyse.com>
>>>>>>    on Sat, 30 Jan 2016 15:34:36 -0600 writes:
> 
>> Hello:
>> In plot.ts, las=1 applies to ylab and not axis labels with 
>> multiple series.  The documented behavior is to have las=1 apply to axis 
>> labels and not ylab.
> 
>> To see this, please try the following:
> 
>> plot.ts(1:4, las=1)
> 
>> plot.ts(matrix(1:8, 4), las=1)
> 
>> On my Mac, the second displays behavior I did not expect.  If 
>> I've done something stupid here, please advise;  it won't be the first 
>> time ;-)
> 
> Nothing stupid; indeed your expectations are correct and there's
> a small lapsus in R there, the '...' not being passed to the axis(..)
> calls in the matrix case.
> 

I'm hoping you can at the same time look at the unexpected behavior I noted in a simple `plot` call that I observed over the weekend, also on a Mac, but it's hard to believe this is related to the OS..

plot(1:10,1:10, pch=20, lwd=c(1,1,1,3,1) ,type='b')

What I'm seeing is the size of the points are accepting the 'lwd' argument when my reading of the docs is that it should be the intervening segments that accept it.

And I echo Duncan's thanks.


> I'm currently checking the obvious patch and will commit it to
> R-devel and R-patched (unless I see problems in our checks).
> 
>> Thanks to all the developers who have made R such a great 
>> contribution to humanity.
> 
> Thank you for the flowers!
> Martin Maechler
> 
> 
>> Best Wishes,
>> Spencer Graves
> 
>> sessionInfo()
>> R version 3.2.3 (2015-12-10)
>> Platform: x86_64-apple-darwin13.4.0 (64-bit)
>> Running under: OS X 10.11.2 (El Capitan)
> 
>    ....
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

David Winsemius
Alameda, CA, USA



[Rd] In plot.ts, las=1 applies to ylab with multiple series and not to axis labels
David Winsemius