Re: [R] Latex using expression

2009-09-22 Thread Henrique Dallazuanna
Try this: plot(x, y, xlab=expression(x=sqrt(x[0], 4)),ylab=expression(y=sqrt(x[0], 4))) On Tue, Sep 22, 2009 at 1:07 PM, amor Gandhi wrote: > Hi all, > > I would like to write the following latex code in a plot x=\sqrt[4]{x[0]} > using > > x0 <- rgamma(1000,2,1) > y0 <- rgamma(100,2,1) > x <- x

[R] Latex using expression

2009-09-22 Thread amor Gandhi
Hi all, I would like to write the following latex code in a plot x=\sqrt[4]{x[0]} using x0 <- rgamma(1000,2,1) y0 <- rgamma(100,2,1) x <- x0^0.25 y <- y0^0.25  plot(x, y,xlab=expression(x=sqrt[4]{x[0]}),ylab=expression(y=sqrt[4]{y[0]})) Many thanks, Amor [[alternative HTML vers