[Kst] plotting cumulative sum of vector
Barth Netterfield
netterfield at astro.utoronto.ca
Thu Sep 13 19:41:20 UTC 2012
On Thu, Sep 13, 2012 at 3:38 PM, Nicolas Brisset <nicolas.brisset at free.fr>wrote:
> The only "problem" is that the returned vector has a size of n+1 (the
> first point being 0.0), so if you plot it against the same x vector as the
> origin vector the curve will have interpolated points.
> I wonder whether the first point should not be the same as the first point
> of the input vector to keep the size the same. Does anybody have objections
> or can I make that change?
>
> Good catch. Make that change.
--
C. Barth Netterfield
University of Toronto
416-845-0946
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kst/attachments/20120913/b2dce6cd/attachment.html>
More information about the Kst
mailing list