On 09/12/2020 6:45 p.m., Rolf Turner wrote:
On Wed, 9 Dec 2020 06:18:10 -0500
Duncan Murdoch <murdoch.dun...@gmail.com> 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.)
I've tried:
plot(1:10,main=expression({sigma^2}[11]))
(and variants). This "sort of" works but there is an undesirable
gap between the sigma and the subscript 11. (IOW the subscript is to
the right of the superscript, whereas ideally the first "1" in "11"
should be vertically below the superscript.
When I run
plot(1:10,main=expression(sigma[11]^2))
I think I get what you want.
<SNIP>
Dang!!! I was sure that that's one of the variants I'd tried!!!
Duh. This is indeed exactly what I want. Thanks Duncan.
You probably did try it, but remember what Einstein is supposed to have
said:
“Insanity is doing the same thing over and over and expecting different
results.”
It just shows that it helps to be a little insane.
Duncan Murdoch
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.