Difference between revisions of "Highlight from Text"

From JSXGraph Wiki
Jump to: navigation, search
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 13:18, 31 January 2013

Line