Commit 70eb03dd authored by MichaelZinsmaier's avatar MichaelZinsmaier

resolved the "first datapoint is not properly connected" issue

parent ec3a333f
......@@ -298,6 +298,9 @@
xnew[0] = xdata[0];
ynew[0] = ydata[0];
result.push(xnew[0]);
result.push(ynew[0]);
for ( j = 1; j < num; ++j) {
xnew[j] = xnew[0] + j * step;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment