0

我正在尝试使用此命令在 gnu plot 中绘制图形

    plot 'temp.txt' using 1:3 title 'humidity' with lines smooth csplines,

   'temp.txt' using 1:2 title'temprature' with lines smooth splines

但曲线不够平滑,如您在图像中看到的那样在此处输入图像描述

我希望通过插值现有数据使曲线更加平滑。

4

2 回答 2

1

“smooth kdensity”会让你的曲线更平滑,但它不会来自插值。曲线不会完全通过任何点。

于 2016-09-05T22:35:26.343 回答
0

您的数据采样可能高于您的 csplines 采样。在命令set samples 1000之前尝试。plot

于 2016-08-11T11:09:40.017 回答