Polynomial regression II: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
regression = JXG.Math.Numerics.regressionPolynomial(deg,pointlist); | regression = JXG.Math.Numerics.regressionPolynomial(deg,pointlist); | ||
reg = brd.createElement('functiongraph',[ | reg = brd.createElement('functiongraph',[regression],{strokeColor:'green'}); | ||
brd.unsuspendUpdate(); | brd.unsuspendUpdate(); | ||
</jsxgraph> | </jsxgraph> |