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
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
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
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
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
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
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"])
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
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
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
10 matches
Mail list logo