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.
我想删除绘图轴与绘图内容本身之间的空间。有任何想法吗?
查看参数xaxs和yaxs(下?par)。默认情况下,轴包含数据范围加上任一侧的 4%。如果您覆盖该参数,那么您可以获得与数据范围完全相等的轴。参照:
xaxs
yaxs
?par
> curve(x^2) > curve(x^2, xaxs="i", yaxs="i")