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.
我想在同一张图上绘制两个函数 f1 和 f2。通过以下代码,我发现两个图的 y 轴的比例不同。有没有办法让天平一样?
plot(f1, 0, 1) par(new=TRUE) plot(f2, 0, 1)
使用curve功能:
curve
plot(f1, 0, 1) curve(f2, 0, 1, add=TRUE)