Sorry, you want it in the y-axis. So put ylab instead of xlab. Generally,
type ?plot in the R-prompt and hit enter. Click the little "par" link in the
middle of the page. There you see all the options (or at least very many)
that you can pass to your plot command.

Best,
Da.




Daniel Malter wrote:
> 
> x=rnorm(100,0,10)
> y=rnorm(100,0,10)
> plot(y~x,xlab="µmol/10^6")
> 
> Is that it?
> 
> Best,
> Daniel 
> 
> 
> -------------------------
> cuncta stricte discussurus
> -------------------------
> 
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im
> Auftrag von Dani Valverde
> Gesendet: Wednesday, July 09, 2008 5:22 AM
> An: R Help
> Betreff: [R] Expression in axis
> 
> 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@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.
> 
> ______________________________________________
> R-help@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.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Expression-in-axis-tp18357570p18357802.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@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.

Reply via email to