Mutually dependent line and gliders: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
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'}); |