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.
我知道如何为具体绘图指定字体,但有没有办法为所有后续绘图、直方图等指定一次?
使用par. 在以下示例中,我假设您想要更改family设置,但请参阅?par您可以更改的图表参数的详尽列表:
par
family
?par
old.params <- par(family = "mono") plot(cars) hist(islands)
完成后,您可以将所有内容重置为旧默认值:
par(old.params)