[R] contour doesn't obey cex.axis?

Duncan Murdoch murdoch at stats.uwo.ca
Sat Feb 17 01:46:39 CET 2007

On 2/16/2007 4:18 PM, Greg Howard wrote:
> I can't seem to control the size of the numeric labels for my contour
> plots.  I am using "cex.axis", which works with plot():
> this makes the tick mark labels very large
> plot( 1:3, 1:3, cex.axis=2.0, )
> but this doesn't change them:
> contour( 1:3, 1:3, array( data=0:9, dim=c(3,3) ), cex.axis=2.0, )
> Is there a replacement for cex.axis in contour()?

No, but you can always draw the contour plot with axes=FALSE, and then 
add whatever axes you like.

Duncan Murdoch

More information about the R-help mailing list