折线图问题,简单一 [英] Line chart question , easy one
本文介绍了折线图问题,简单一的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
想象:
我需要平滑值的曲线.
此刻,它看起来很刺眼.
我需要定义曲线的平滑度.
现在,我使用了加速和减速度技巧,找到了最平滑的曲线,但是它很容易晃动并且可能超出范围.
Imagine :
I need to smooth out a curve of values..
At this moment , it looks rather spiky.
I need to define the smoothness of the curve.
Now i used a accelerate and decellerate trick , to find the smoothest curve , but it easily goes to wobly and can shoot out of range.
推荐答案
移动平均线会平滑迅速波动.您可以更改滑动窗口的宽度,并使用不同类型的平均值(简单,加权,指数等).
请参见 http://en.wikipedia.org/wiki/Moving_average [
A moving average will smooth out rapid fluctuations. You can vary the width of the sliding window, and use different types of average (simple, weighted, exponential etc).
See http://en.wikipedia.org/wiki/Moving_average[^]
这篇关于折线图问题,简单一的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文