Difference between revisions of "Trochoid"

From JSXGraph Wiki
Jump to: navigation, search
Line 6: Line 6:
 
<script language="JavaScript">
 
<script language="JavaScript">
 
  board = JXG.JSXGraph.initBoard('jsxgbox', {originX: 250, originY: 250, unitX: 50, unitY: 50});
 
  board = JXG.JSXGraph.initBoard('jsxgbox', {originX: 250, originY: 250, unitX: 50, unitY: 50});
 +
board.createElement('axis', [[0,0],[1,0]]);
 +
board.createElement('axis', [[0,0],[0,1]]);
 
  var a = board.createElement('slider', [[1,-1],[4,-1],[-5,1,5]], {style:6});
 
  var a = board.createElement('slider', [[1,-1],[4,-1],[-5,1,5]], {style:6});
 
  var b = board.createElement('slider', [[1,-2],[4,-2],[-5,1,5]], {style:6});
 
  var b = board.createElement('slider', [[1,-2],[4,-2],[-5,1,5]], {style:6});

Revision as of 17:55, 5 February 2009