Difference between revisions of "Mutually dependent line and gliders"
From JSXGraph Wiki
Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||
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'}); |