擅长:python、mysql、java
<p>您有多种选择:</p>
<ul>
<li>正如@Juan C所述,您可以计算移动平均线</李>
<li>或者,可以选择较少的采样,然后使用样条曲线插值来平滑曲线
如下文所述:
<a href="https://www.kite.com/python/answers/how-to-plot-a-smooth-line-with-matplotlib-in-python" rel="nofollow noreferrer">https://www.kite.com/python/answers/how-to-plot-a-smooth-line-with-matplotlib-in-python</a></li>
</ul>