0

我正在尝试调整size自动绘图中的线条,对于一个简单的图形它可以工作,但是对于两条线它不起作用,任何关于如何解决它的想法。

library(ggfortify);library(forecast)
autoplot(AirPassengers, ts.colour = "blue", size = 2) + theme_light()
d.arima <- auto.arima(AirPassengers)
d.forecast <- forecast(d.arima, level = 10, h = 50)
autoplot(cbind(Ajustado = fitted(d.arima),Original = AirPassengers), size = 2) + labs(y = "") + theme_light()

第二行代码有效size,但在最后一行却不行

4

1 回答 1

3

The argument size works in ggfortify:::autplot.ts:

ggfortify:::autoplot.ts(cbind(Ajustado = fitted(d.arima),
                              Original = AirPassengers), size = 2, facets=F) + 
labs(y = "") + theme_light()

enter image description here

于 2018-02-24T12:44:34.753 回答