参考自 153分钟

使用平滑曲线,沿着X轴从左向右的顺序依次连接,可以使用spline样条函数线。   

x = 1:5
 y = c(1,3,4,2.5,2)
 plot(x,y)
 sp = spline(x,y,n = 50)
 lines(sp)

相关文章:

  • 2021-06-19
  • 2021-07-14
  • 2021-10-22
  • 2022-12-23
  • 2022-12-23
  • 2021-08-11
猜你喜欢
  • 2022-12-23
  • 2021-11-15
  • 2022-12-23
  • 2021-04-10
  • 2021-11-05
  • 2021-06-14
  • 2021-12-14
相关资源
相似解决方案