[R] xlab with text and expression

threshold r.kozarski at gmail.com
Tue Sep 14 08:32:04 CEST 2010


One more question, given that
plot(rnorm(1),rnorm(1), ylab=expression(a~b >= 3), cex.lab=1.2)

then sign >= seems to be smaller than the rest, seems like cex.lab=1.2
affects only the text in ylab. 

1) Is there any way to alter its size to follow the size of the whole
expression? It works nice for legend but not for ylab.
2) Is there any other way to put text into expression? since if you put
ylab=expression(a:~b >= 3) then an additional space pops up between 'a' and
':'.

thanks a lot, robert
-- 
View this message in context: http://r.789695.n4.nabble.com/xlab-with-text-and-expression-tp2535732p2538502.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list