Hi,
I am plotting some labels that consist of strings in which
some words (but only some) should be in italics.
E.g.
M3: Homo, 5 areas, 2 areas max
M4: Pan, 3 areas, 2 areas max
I am putting these on the plot with the text() command. The
words Homo and Pan should be italicized, since
Hi,
May be this gets you started:
plot(1,1,xlim=0:1,ylim=0:1)
text(0.6,0.8, expression(M3:~italic(Homo)~paste(,, 5 areas, 2 areas
max,sep=)))
text(0.6,0.4, expression(M4:~italic(Pan)~paste(,, 3 areas, 2 areas
max,sep=)))
A.K.
- Original Message -
From: Nick Matzke
On Aug 9, 2013, at 7:22 PM, arun wrote:
Hi,
May be this gets you started:
plot(1,1,xlim=0:1,ylim=0:1)
text(0.6,0.8, expression(M3:~italic(Homo)~paste(,, 5 areas, 2 areas
max,sep=)))
text(0.6,0.4, expression(M4:~italic(Pan)~paste(,, 3 areas, 2 areas
max,sep=)))
The plotmath
3 matches
Mail list logo