[R] Expression in axis

Gabor Csardi csardi at rmki.kfki.hu
Wed Jul 9 11:33:18 CEST 2008


E.g.

> plot(1:10,1:10,xlab=NA)
> title(xlab=expression(mu*"mol"/10^6*" cells"))

Gabor

On Wed, Jul 09, 2008 at 11:21:46AM +0200, Dani Valverde wrote:
> Hello,
> I am creating a plot and I would like to know how to put this expression  
> to the y axis
>                                                µmol/10^6 cells
> I've tried some combinations using the expression() function, but none  
> of them worked.
> Any idea?
>
> Best,
>
> Dani
>
> -- 
> Daniel Valverde Saubí
>
> Grup de Biologia Molecular de Llevats
> Facultat de Veterinària de la Universitat Autònoma de Barcelona
> Edifici V, Campus UAB
> 08193 Cerdanyola del Vallès- SPAIN
>
> Centro de Investigación Biomédica en Red
> en Bioingeniería, Biomateriales y
> Nanomedicina (CIBER-BBN)
>
> Grup d'Aplicacions Biomèdiques de la RMN
> Facultat de Biociències
> Universitat Autònoma de Barcelona
> Edifici Cs, Campus UAB
> 08193 Cerdanyola del Vallès- SPAIN
> +34 93 5814126
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
Csardi Gabor <csardi at rmki.kfki.hu>    UNIL DGM



More information about the R-help mailing list