Re: [R] ylab with an exponent

2008-08-15 Thread Henrique Dallazuanna
Try this: plot(1,2, ylab=expression(insects~m^2)) On Fri, Aug 15, 2008 at 1:26 PM, stephen sefick <[EMAIL PROTECTED]> wrote: > plot(1,2, ylab= paste("insects", expression(m^2), sep=" ")) > > I get insects m^2 > I would like m to the 2 > > what is the problem? > > -- > Let's not spend our time and

Re: [R] ylab with an exponent

2008-08-15 Thread stephen sefick
solution plot(1,2, ylab= expression("insects"*" "*m^2)) On Fri, Aug 15, 2008 at 12:26 PM, stephen sefick <[EMAIL PROTECTED]> wrote: > plot(1,2, ylab= paste("insects", expression(m^2), sep=" ")) > > I get insects m^2 > I would like m to the 2 > > what is the problem? > > -- > Let's not spend our t

Re: [R] ylab with an exponent

2008-08-15 Thread Mark Difford
>> what is the problem? A solution is: plot(1,2, ylab=expression(paste("insects ", m^2))) The problem is very much more difficult to determine. stephen sefick wrote: > > plot(1,2, ylab= paste("insects", expression(m^2), sep=" ")) > > I get insects m^2 > I would like m to the 2 > > what is

[R] ylab with an exponent

2008-08-15 Thread stephen sefick
plot(1,2, ylab= paste("insects", expression(m^2), sep=" ")) I get insects m^2 I would like m to the 2 what is the problem? -- Let's not spend our time and resources thinking about things that are so little or so large that all they really do for us is puff us up and make us feel like gods. We a