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 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 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