Dear R-Community,
The cex values in curve seem to be being ignored. I have searched
previous help questions and also the web generally, and cannot find this
being a major problem so I am suspicious of something odd happening but
I am at a loss to work out why.
I am trying to plot this:
b1 <- -0.858
pow <- 0.8
ratio <- 1
sig <- 0.05
curve((qnorm(1-sig/2)+qnorm(pow))^2/b1^2/x/(ratio/(1+ratio))/(1/(1+ratio)),from=0.005,to=0.08,main="This
needs to be bigger",xlab="And this bigger too",ylab="And
this too",
cex=1,cex.lab=3.5, cex.axis=3.5, cex.main=3.5, cex.sub=3.5)
But no matter what value of cex I make it, or whether I break up the
arguments into :
title(main="something",cex.main=3)
axis(cex.axis=2)
or parse this before plotting : par(cex.lab=1.5, cex.axis=1.5,
cex.main=3.5, cex.sub=1.5)
I cannot get the main, axis titles or axis numbers to change in size,
whatever I do.
I am using a macbook pro, with mavericks, R-studio and R 3.1.0
"spring-dance", and I am initiating the plot with:
X11( width=width , height=height , type="cairo").
Any help would be greatly appreciated.
thanks
Philip