Aus Truth-Quark
(Unterschied zwischen Versionen)
|
|
Zeile 18: |
Zeile 18: |
| // | | // |
| b.createElement('functiongraph', [function(t){ return (1/Math.sqrt(2*Math.PI))*Math.pow(2.71,-0.5*Math.pow(t,2)); }],{strokeColor:'#ff0000'}); | | b.createElement('functiongraph', [function(t){ return (1/Math.sqrt(2*Math.PI))*Math.pow(2.71,-0.5*Math.pow(t,2)); }],{strokeColor:'#ff0000'}); |
- | </jsxgraph>
| |
- | <jsxgraph height='150' width='150' board='board' box='jxgbox'>
| |
- | var b = JXG.JSXGraph.initBoard('jxgbox', {originX: 75, originY: 75, unitX: 30, unitY: 50});
| |
- | axisx = b.createElement('axis', [[0,0], [1,0]], {});
| |
- | axisy = b.createElement('axis', [[0,0], [0,1]], {});
| |
- | b.createElement('functiongraph', [function(x){return Math.cos(x);
| |
- | }]);
| |
- | </jsxgraph>
| |
- | <jsxgraph height='150' width='150' board='board' box='jxgbox'>
| |
- | var b = JXG.JSXGraph.initBoard('jxgbox', {originX: 75, originY: 75, unitX: 30, unitY: 50});
| |
- | axisx = b.createElement('axis', [[0,0], [1,0]], {});
| |
- | axisy = b.createElement('axis', [[0,0], [0,1]], {});
| |
- | b.createElement('functiongraph', [function(x){return x;
| |
- | }]);
| |
| </jsxgraph> | | </jsxgraph> |
Version vom 22:16, 25. Mär. 2009