Mutually dependent line and gliders: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 4: Line 4:
     keepaspectratio: true, axis:false, grid:true
     keepaspectratio: true, axis:false, grid:true
     });
     });
 
board.create('axis',[[0,0],[1,0]], {ticks: {majorHeight:20}});
var el0 = board.create('line',[[0,0], [0,1]], {strokeOpacity: .2, strokeColor: '#000000', fixed: true, name: 'x=0'});
var el0 = board.create('line',[[0,0], [0,1]], {strokeOpacity: .2, strokeColor: '#000000', fixed: true, name: 'x=0'});
var el1 = board.create('line',[[1,0],[1,1]], {strokeOpacity: .2, strokeColor: '#000000', fixed: true, name: 'x=1'});
var el1 = board.create('line',[[1,0],[1,1]], {strokeOpacity: .2, strokeColor: '#000000', fixed: true, name: 'x=1'});

Revision as of 07:51, 1 June 2012