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")
4

1 回答 1

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
)
于 2013-10-29T16:25:22.863 回答