Difference between revisions of "Mutually dependent line and gliders"

From JSXGraph Wiki
Jump to navigationJump to search
Line 5: Line 5:
 
     });
 
     });
 
board.create('axis',[[0,0],[1,0]], {ticks: {majorHeight:20}});
 
board.create('axis',[[0,0],[1,0]], {ticks: {majorHeight:20}});
 +
board.create('axis',[[0,0],[0,1]], {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 09:51, 1 June 2012