Re: [R] Expression in axis

2008-07-09 Thread S Ellison
>>> Dani Valverde <[EMAIL PROTECTED]> 09/07/2008 10:21:46 >>> >I would like to know how to put this expression to the y axis >µmol/10^6 cells try plot(x,y, ylab=expression(mu*mol^6~cells)) It's in ?plotmath. Steve Ellison *

Re: [R] Expression in axis

2008-07-09 Thread Daniel Malter
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 wrot

Re: [R] Expression in axis

2008-07-09 Thread Gabor Csardi
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 >

Re: [R] Expression in axis

2008-07-09 Thread Daniel Malter
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: Wedn