Re: [R] Subscript and superscript on one symbol; plotmath.

2020-12-09 Thread Duncan Murdoch
On 09/12/2020 6:45 p.m., Rolf Turner wrote: On Wed, 9 Dec 2020 06:18:10 -0500 Duncan Murdoch wrote: On 09/12/2020 3:06 a.m., Rolf Turner wrote: I would like to produce, as graphical annotation, the Greek letter sigma with a superscript of 2 and a subcript of 11. (I.e. the top left hand ent

Re: [R] Subscript and superscript on one symbol; plotmath.

2020-12-09 Thread Rolf Turner
On Wed, 9 Dec 2020 06:18:10 -0500 Duncan Murdoch wrote: > On 09/12/2020 3:06 a.m., Rolf Turner wrote: > > > > I would like to produce, as graphical annotation, the Greek letter > > sigma with a superscript of 2 and a subcript of 11. (I.e. the top > > left hand entry of a covariance matrix.) >

Re: [R] Subscript and superscript on one symbol; plotmath.

2020-12-09 Thread Duncan Murdoch
On 09/12/2020 3:06 a.m., Rolf Turner wrote: I would like to produce, as graphical annotation, the Greek letter sigma with a superscript of 2 and a subcript of 11. (I.e. the top left hand entry of a covariance matrix.) I've tried: plot(1:10,main=expression({sigma^2}[11])) (and variants). Thi

Re: [R] Subscript and superscript on one symbol; plotmath.

2020-12-09 Thread Eric Berger
Hi Rolf, This is not addressing your implementation, but reformulates the goal. Specifically, the covariance matrix is normally written as \Sigma (not \sigma^2). So to specify the upper left element you would write (in Latex) \Sigma_{11}. No superscript (so no problem!) HTH, Eric On Wed, Dec 9,

Re: [R] Subscript and superscript on one symbol; plotmath.

2020-12-09 Thread Dr Eberhard W Lisse
They let you guys go to the pup again? :-)-O el On 09/12/2020 10:06, Rolf Turner wrote: [...] > Is there any way to achieve, with plotmath, an effect like unto that > produced by the LaTeX expression $\sigma^2_{11}$? Or should I just > give up and go to the pub? :-) [...] -- Dr. Eberhard W. Lis