Dual lattice: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 24: | Line 24: | ||
var num = b1.X() * b2.Y() - b2.X() * b1.Y(); | var num = b1.X() * b2.Y() - b2.X() * b1.Y(); | ||
return [-b1.Y() / num, b1.X() / num]; | return [-b1.Y() / num, b1.X() / num]; | ||
}], {strokeColor: 'red', name:"2'", withLabel:true}); | }], {strokeColor: 'red', name:"2'", withLabel:true, label:{position:'rt'}}); | ||