# Difference between revisions of "Polynomial regression II"

From JSXGraph Wiki

Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

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> |