text(x, y, font=2, "text")
更改整个“文本”的字体。
但是是否可以更改“文本”中单个单词的字体?
Yep!
plot.new() text(0.5,0.5, expression(paste(bold("bold")," not bold")))
看一眼?plotmath可以使用大量其他选项和符号。
?plotmath