我正在使用xts
绘制plot.xts()
对象,但是找不到grid = FALSE
之类的参数来删除网格线。还有其他方法可以消除这些灰线吗?这是R文档中plot.xts()
的用法。
# S3 method for xts
plot(x, y = NULL, ..., subset = "",
panels = NULL, multi.panel = FALSE, col = 1:8, up.col = "green",
dn.col = "red", bg = "#FFFFFF", type = "l", lty = 1, lwd = 2, lend = 1,
main = deparse(substitute(x)), observation.based = FALSE,
ylim = NULL, yaxis.same = TRUE, yaxis.left = TRUE, yaxis.right = TRUE,
major.ticks = "months", minor.ticks = NULL,
grid.ticks.on = "months", grid.ticks.lwd = 1, grid.ticks.lty = 1,
grid.col = "darkgray", labels.col = "#333333", format.labels = TRUE,
grid2 = "#F5F5F5", legend.loc = NULL)