Bezier curves: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 19: Line 19:
p.push(brd.createElement('point',[2,-0.5],{strokeColor:col,fillColor:col}));      // data point
p.push(brd.createElement('point',[2,-0.5],{strokeColor:col,fillColor:col}));      // data point


var c = board.createElement('curve', JXG.Math.Numerics.bezier(p),{strokecolor:'blue', strokeOpacity:0.8, strokeWidth:3});  
var c = brd.createElement('curve', JXG.Math.Numerics.bezier(p),{strokecolor:'blue', strokeOpacity:0.8, strokeWidth:3});  


</jsxgraph>
</jsxgraph>

Revision as of 08:51, 28 September 2009