Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
text(x, y, font=2, "text")
更改整个“文本”的字体。
但是是否可以更改“文本”中单个单词的字体?
是的!
plot.new() text(0.5,0.5, expression(paste(bold("bold")," not bold")))
查看?plotmath可以使用的大量其他选项和符号。
?plotmath