plot.xts对象---如何使图例字体更大胆?

时间:2013-10-29 16:18:08

标签: r plot xts

我有以下代码可行。我想让传说字体更大胆,但我现在正在使用汽车传奇,只是想知道是否可以做到这一点?非常感谢提前!

plot.xts(Margins, 
         screens = c(1,1,2,2,3,3,4,4),
         col = brewer.pal(n=9,"PuBu")[c(8,4,6,9)], lwd = 6,
         legend.loc = c("topright"), auto.legend = T,
         main="Margin Comparison")

1 个答案:

答案 0 :(得分:2)

只需使用font=2作为参数。

plot.xts(Margins, 
         screens = c(1,1,2,2,3,3,4,4),
         col = brewer.pal(n=9,"PuBu")[c(8,4,6,9)], lwd = 6,
         legend.loc = c("topright"), auto.legend = T,
         main="Margin Comparison",
         font = 2
)