On 23 Mag, 06:18, "Skybuck Flying" <BloodySh...@[EMAIL PROTECTED]
> wrote:
> For more precision, the "AveragesTaken" could be replaced by the
timespan
> that each group/line/point on the chart represents.
>
> And then transfer from group to group, and finally measurement to
group...
>
Thanks a lot Skybuck for all the good ideas,
I have also though about averaging. But then I also though: what
for adding these computations ?
After all, my purpose is just to "resample" and not to create a
smoother version of the chart.
If one does averages, I guess we end up with a much smoother chart
of the original.
Sometimes that may be a good feature. Sometimes not.
Actually in my case, as you can see from my code I have even been
concerned
about *preserving* min and max. Infact I cannot remove that
information which is crucial
to the user (for instance in case of prices).
As a matter of fact I, first compute Min and Max, and then I
resample, making sure that
values equal to min or max are not removed.
Your idea can be very useful if one needs a smoothed version, perhaps
to better study trend.
I want to program your version also to see how smoothing it
involves. I may add it as a featured view
if it works fine :-)
Thanks a lot for your care and much interest in helping me.
-P


|