Difference between revisions of "Polynomial regression II"

From JSXGraph Wiki
Jump to navigationJump to search
Line 9: Line 9:
  
 
regression = JXG.Math.Numerics.regressionPolynomial(deg,pointlist);  
 
regression = JXG.Math.Numerics.regressionPolynomial(deg,pointlist);  
reg = brd.createElement('functiongraph',[regression2],{strokeColor:'green'});     
+
reg = brd.createElement('functiongraph',[regression],{strokeColor:'green'});     
 
brd.unsuspendUpdate();
 
brd.unsuspendUpdate();
  
  
 
</jsxgraph>
 
</jsxgraph>

Revision as of 16:15, 19 August 2009