74,406
个编辑
(创建页面,内容为“{{JSXGraph1}}<html><div id="jxgbox" class="jxgbox" style="width:1050px; height:600px;"></div> <script> var board = JXG.JSXGraph.initBoard('jxgbox', {boundingbox: [-14, 14, 14, -0.3], keepAspectRatio:true,axis:true}); var o = board.create('point',[0,0],{name:"O",fixed:true}); var l1 = board.create('line', [0, 1, 1],{fixed:true}); var l2 = board.create('line', [0, -1, 1],{fixed:true}); var l3 = board.create('line', [[14,14],[-14,14]],{fixed:true,visible:0}); var…”) |
小无编辑摘要 |
||
第11行: | 第11行: | ||
var a = board.create('point',[2,6],{name:"A"}); | var a = board.create('point',[2,6],{name:"A"}); | ||
var b = board.create('point',[0,12],{name:"B"}); | var b = board.create('point',[0,12],{name:"B"}); | ||
var c = board.create('point',[0,5.33],{name:"C"}); | |||
var d = board.create('point',[0,6.67],{name:"D"}); | |||
var s0 = board.create('segment', [o, b]); | var s0 = board.create('segment', [o, b]); | ||
var s1 = board.create('segment', [o, a]); | var s1 = board.create('segment', [o, a]); | ||
第35行: | 第37行: | ||
}], {type:'generic'}); | }], {type:'generic'}); | ||
lorentz.bindTo([a, b]); | lorentz.bindTo([a, b,c,d]); | ||
</script> | </script> | ||
</html> | </html> |