From ggrothendieck at gmail.com  Sat Nov 22 09:33:45 2008
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Sat, 22 Nov 2008 03:33:45 -0500
Subject: [Rd] cex.lab etc. ignored in plot.ts for multiple plots
	(PR#13315)
In-Reply-To: <20081121135005.0CE7D283416C@mail.pubhealth.ku.dk>
References: <20081121135005.0CE7D283416C@mail.pubhealth.ku.dk>
Message-ID: <971536df0811220033x389438b7l7e2ef415eae8fff7@mail.gmail.com>

As a workaround you could use plot.zoo:

library(zoo)
tt <- ts(cbind(a = 1:10, b = 1:10))

plot(as.zoo(tt), plot.type="multiple", cex.lab = 0.5, col.lab = "red")

On Fri, Nov 21, 2008 at 8:50 AM,  <yan at pixie.org.uk> wrote:
> Full_Name: Yan Wong
> Version: 2.8.0
> OS: Mac OS X 10.4
> Submission from: (NULL) (78.149.183.231)
>
>
> When plotting multiple time series in a single plot, via
> plot.ts(plot.type="multiple"), the cex.lab, col.lab, and font.lab arguments are
> ignored
>
>> plot(ts(data.frame(a=1:10, b=1:10)), plot.type="single", cex.lab=0.5,
> col.lab="red")  #tiny red axis labels
>> plot(ts(data.frame(a=1:10, b=1:10)), plot.type="multiple", cex.lab=0.5,
> col.lab="red") #should have tiny red axis labels, but does not.
>
> I think this a problem with lines 54-57 of plot.ts. In particular, the mtext
> functions should also be called with 'cex=cex.lab, col=col.lab, font=font.lab',
> and the argument list of the plotts function should also contain
> 'cex.lab=par("cex.lab"), col.lab=par("col.lab"), font.lab=par("font.lab")'
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] cex.lab etc. ignored in plot.ts for multiple plots (PR#13315)
Gabor Grothendieck