Re: [R] puzzled with plotmath II

2011-01-20 Thread S Ellison
expression(Z[i][i]) also works as expected, though without the comma. S Ellison >>> Gerrit Eichner 01/20/11 12:09 PM >>> Try > plot (1, 1, ylab = expression (Z[list(i,i)])) Hth -- Gerrit > Original Message > Subject: puzzled with plotmath > Date: Thu, 20 Jan 2011 12:48:1

Re: [R] puzzled with plotmath II

2011-01-20 Thread Claudia Beleites
Peter, Look for 'comma-separated list' on the help page!! Yes, seeing the solution I also understand why list is the solution. The special meaning of list () in plotmath was only in my passive vocabulary - and after this discussion I think it is upgraded to active ;-) I have to admit that my

Re: [R] puzzled with plotmath for matrix indices

2011-01-20 Thread Gerrit Eichner
Claudia, Mittelhessen! ;-) thanks & viele Grüße nach Oberhessen :-) plot (1, 1, ylab = expression (Z[list(i,i)])) though that cannot be evaluated, either (due to [ not knowing what to do with an index list) Something is missing; this last sentence of yours appears to be not complete, doe

Re: [R] puzzled with plotmath for matrix indices

2011-01-20 Thread Claudia Beleites
On 01/20/2011 02:11 PM, Uwe Ligges wrote: On 20.01.2011 14:08, Claudia Beleites wrote: Gerrit, thanks & viele Grüße nach Oberhessen :-) plot (1, 1, ylab = expression (Z[list(i,i)])) though that cannot be evaluated, either (due to [ not knowing what to do with an index list) Works for me

Re: [R] puzzled with plotmath II

2011-01-20 Thread Peter Ehlers
On 2011-01-20 04:09, Gerrit Eichner wrote: Try plot (1, 1, ylab = expression (Z[list(i,i)])) Hth -- Gerrit Original Message Subject: puzzled with plotmath Date: Thu, 20 Jan 2011 12:48:18 +0100 From: Claudia Beleites To: R Help Dear all, I'm puzzled with matrix indices

Re: [R] puzzled with plotmath for matrix indices

2011-01-20 Thread Uwe Ligges
On 20.01.2011 14:08, Claudia Beleites wrote: Gerrit, thanks & viele Grüße nach Oberhessen :-) plot (1, 1, ylab = expression (Z[list(i,i)])) though that cannot be evaluated, either (due to [ not knowing what to do with an index list) Works for me with a recent R version. for future sea

Re: [R] puzzled with plotmath for matrix indices

2011-01-20 Thread Claudia Beleites
Gerrit, thanks & viele Grüße nach Oberhessen :-) plot (1, 1, ylab = expression (Z[list(i,i)])) though that cannot be evaluated, either (due to [ not knowing what to do with an index list) for future searches: probably the easiest cheat is, of course, plot (1, 1, ylab = expression (Z["i, i"])

Re: [R] puzzled with plotmath II

2011-01-20 Thread Gerrit Eichner
Try plot (1, 1, ylab = expression (Z[list(i,i)])) Hth -- Gerrit Original Message Subject: puzzled with plotmath Date: Thu, 20 Jan 2011 12:48:18 +0100 From: Claudia Beleites To: R Help Dear all, I'm puzzled with matrix indices in plotmath. I'm plotting matrix element

[R] puzzled with plotmath II

2011-01-20 Thread Claudia Beleites
sorry, I forgot my sessionInfo: please see below. Original Message Subject: puzzled with plotmath Date: Thu, 20 Jan 2011 12:48:18 +0100 From: Claudia Beleites To: R Help Dear all, I'm puzzled with matrix indices in plotmath. I'm plotting matrix elements: Z [i, i], and I'd

[R] puzzled with plotmath

2011-01-20 Thread Claudia Beleites
Dear all, I'm puzzled with matrix indices in plotmath. I'm plotting matrix elements: Z [i, i], and I'd like to put that as label. I'll describe what I want and what I get in LaTeX-notation. The output should look like Z_{i, i}, and my first try was plot (1, 1, ylab = expression (Z[i, i])) Th