Highlight from Text: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 5: Line 5:
<div id="jxgbox" class="jxgbox" style="width:500px; height:200px; position:relative;"></div>
<div id="jxgbox" class="jxgbox" style="width:500px; height:200px; position:relative;"></div>
<script type="text/javascript">
<script type="text/javascript">
  var brd = JXG.JSXGraph.initBoard('jxgbox', {originX: 200, originY: 100, unitX: 50, unitY: 50});
  var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox: [-4, 2, 6, -2]});
  var p1 = brd.createElement('point',[-1,1], {name:'A',style:6});
  var p1 = brd.createElement('point',[-1,1], {name:'A',style:6});
  var p2 = brd.createElement('point',[2,-1], {name:'B',style:6});
  var p2 = brd.createElement('point',[2,-1], {name:'B',style:6});

Revision as of 11:18, 31 January 2013

Line