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.
使用 Rplot函数绘制另一个函数,如何增加粒度以使图形看起来平滑?即类似于的东西seq(by=.001)?
plot
seq(by=.001)
plot(sin, to=100)
尝试plot(curve(sin, ...)),然后设置n=为您想要的分辨率。
plot(curve(sin, ...))
n=
curve(sin, from=0, to=100) # default, n=101 curve(sin, from=0, to=100, n=1001)