[R] How to change the label size in axis
Jim Lemon
jim at bitwrit.com.au
Sat Mar 1 04:41:39 CET 2014
On 03/01/2014 02:08 PM, Jun Shen wrote:
> Hi everyone,
>
> I am using the axis command to draw extra axis on the right. How do I
> change the text size of the labels as in
>
> axis (4, at=c(1:9), labels='some text', las=1).
>
>
> I can't find an argument to change the text size for the labels. Thanks.
>
Hi Jun,
Try this:
axis (4,at=c(1:9),labels='some text',las=1,cex.axis=1.5)
to get about 50% larger characters.
Jim
More information about the R-help
mailing list