[R] Expression in axis

Gabor Csardi
Wed, 09 Jul 2008 09:33:18 -0000

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.

--