[R] cex.lab ignored in plot.zoo for multiple plots

David Winsemius dwinsemius at comcast.net
Wed Sep 5 19:39:51 CEST 2012


On Sep 5, 2012, at 8:06 AM, Nicolai Schneider wrote:

> Hello everyone,
> 
> a problem with the plot.zoo function. In the parameters of the function,
> cex.lab is ignored. I tried to reduce the size of the yaxis labels by at
> least 50%.
> 
> ------------------
> 
> Example:
> 
> sample <- as.zoo(EuStockMarkets)
> 
> par(las=1)
> 
> plot.zoo(sample, plot.type="multiple", main="Time Series", xlab="Date",
> yaxt="n", cex.lab=0.5, xaxs="i")
> # Try playing with different values for cex.lab

I would have thought that the parameter to use would be 'cex.axis'. Testing seems to confirm theory in this case.
> 
> par(las=0)
> 
> ---------------
-- 
David Winsemius, MD
Alameda, CA, USA




More information about the R-help mailing list