[R] plot question

Gabor Grothendieck ggrothendieck at gmail.com
Sun Jul 3 04:12:28 CEST 2005

Trying characters and expressions variously it seems that font.lab applies
to character strings but not to expressions so if you want to use an expression
just use bold (or whatever) explicitly on the expression.  One gotcha is that
bold will not work as one might have expected on numbers so they must 
be represented as character strings -- which is why we have used "3" rather 
than 3 below.


On 7/2/05, alex diaz <celebridades at megamail.pt> wrote:
> dear list:
> in the following plot:
> plot(rnorm(10),rnorm(10),xlab="year",ylab=expression
> (paste('M x'*10^{3},)),font.lab=2)
> font.lab=2, but xlab and ylab are different. I want
> both labels in the same way. help?
> a.d.
> -------------------------------------------------
> Email Enviado utilizando o serviço MegaMail
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

More information about the R-help mailing list