x<-c(0.2,0.4,0.8,2.3)
y4<-c(190.66,185.55,188.53,187.51)
par(mar=c(2.0,4.5,0.5,2.5))
plot(x,y4,type=\"l\",xaxt=\"n\",yaxt=\"n\",col=\"navy\",frame=F,lwd=2,
xl
From the ?plotmath
help page
Note that bold, italic and bolditalic do not apply to symbols, and hence not to the Greek symbols such as mu which are displayed in the symbol font. They also do not apply to numeric constants.
also from the ?plotmath
help page
Any Unicode character can be entered into a text string via a \uxxxx escape, or used by number in a call to points. The windows family of devices can display such characters if they are available in the font in use. This can often be used to display Greek letters in bold or italic.
Thus you can plot the beta with
plot(x,y4,type="l",xaxt="n",yaxt="n",col="navy",frame=F,lwd=2,
xlab="levels(ppm)",xlim=c(0,2.5),ylim=c(185,195), font.lab=2 ,
ylab=expression(bold("HOMA-")~bolditalic("\u03B2")~bold("(%)"))
)
and you can use an expression for the "P" in the text
text(2.0,192, expression(bolditalic(P)~bold("for trend<0.01")),cex=0.75)