r - 如何删除 plot.xts 中的网格线
问题描述
我正在xts
使用 绘制一个对象plot.xts()
,但我找不到删除网格线的参数,比如grid = FALSE
或其他东西。有没有其他方法可以摆脱那些灰线?这是plot.xts()
from R文档的用法。
# 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)
解决方案
推荐阅读
- python - 带有“self”的 Python 侦听器方法
- c - 在 C 中运行 while 循环时捕获用户输入
- vue.js - 如何在使用 vuejs 上传之前预览多个附加图像
- php - 将数据从 php 表插入到我的 mysql 数据库
- javascript - jquery .load() 带有后退/前进按钮,没有哈希
- mysql - 使用多个重复的最大日期时间检索每个组中的最大日期时间记录 - MySQL 问答
- node.js - 如何使用 Javascript 将从 REST api 服务接收的 JSON 存储到变量中
- powershell - 如何执行变量中的powershell代码
- javascript - 如何使用 jquery 激活“禁用导航链接”?
- javascript - 我想从页面的视图页面源中获取 url