[Rd] In plot.ts, las=1 applies to ylab with multiple series and not to axis labels
dwinsemius at comcast.net
Mon Feb 1 19:42:30 CET 2016
> 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:
>> 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
>> 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
Alameda, CA, USA
More information about the R-devel