Continuous functions: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 3: Line 3:
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/prototype.js"></script>
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/prototype.js"></script>
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<div id="box" class="jxgbox" style="width:600px; height:200px;"></div>
<div id="box" class="jxgbox" style="width:600px; height:500px;"></div>
<script language="JavaScript">
<script language="JavaScript">
  board = JXG.JSXGraph.initBoard('box1', {originX: 300, originY: 100, unitX: 30, unitY: 25});
  board = JXG.JSXGraph.initBoard('box1', {originX: 300, originY: 250, unitX: 30, unitY: 25});
  b1axisx = board.createElement('axis', [[0,0], [1,0]], {});
  b1axisx = board.createElement('axis', [[0,0], [1,0]], {});
  b1axisy = board.createElement('axis', [[0,0], [0,1]], {});
  b1axisy = board.createElement('axis', [[0,0], [0,1]], {});
  graph = board.createElement('curve', ['x', #
  graph = board.createElement('curve', ['x',
     function(x) {
     function(x) {
       if (x<1) {
       if (x<1) {

Revision as of 10:47, 17 December 2008

References

The underlying JavaScript source code