On 11/21/2009 12:23 PM, Peng Yu wrote:> The labels on the axis overlap. Is there a way to change their font
> size smaller?
>
>
> m=100
> n=100
> X=replicate(n,rnorm(m))
> image(X,axes=F)
>
axis(side=1,at=seq(from=par()$usr[1],to=par()$usr[2],length=(m+1))[1:m],labels=replicate(m,
> 'A'),las=2)
>
> ______________________________________________
>
Hi again Peng,
The "cex.axis" argument will change the axis font size (e.g. cex=0.5),
but you may find that the staxlab function in the plotrix package will
also solve the problem.
Jim