Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 latticeExtra 库“ecdfplot”来绘制我的错误。我想添加网格线。
以下似乎不起作用:
ecdfplot(err) grid(ny=10)
它给出了以下(无网格)结果:
我真的很想给出一个“图形摘要”,其中分位数由线条表示,它们与数据的交点显示在 x 轴上。
你能告诉我如何添加网格线吗?在特定的 x 位置添加垂直线怎么样?
试试论据axis = axis.grid
axis = axis.grid
require(latticeExtra) data(singer, package = "lattice") ecdfplot(~height, data = singer, add=TRUE, axis = axis.grid, par.settings = theEconomist.theme())