[R] cex.lab ignored in plot.zoo for multiple plots
A Duranel
arnaud.duranel.09 at ucl.ac.uk
Tue Sep 11 14:33:09 CEST 2012
Sep 05, 2012; 6:39pm — by David Winsemius David Winsemius
>> 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.
I have the same issue (R 2.13.0 & zoo_1.7-6). cex.lab, col.lab and font.lab
are ignored, whether in the plot() or par() statement (and so is ann=FALSE
by the way). Contrary to David's suggestion, cex.axis changes the size of
axis tick labels (removed in the example above), not of the axis label.
Thanks
Arnaud.
--
View this message in context: http://r.789695.n4.nabble.com/cex-lab-ignored-in-plot-zoo-for-multiple-plots-tp4642295p4642759.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list