Orthogonal axis affinity: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
var g = board.create('parallel', [B, board.defaultAxes.x]); | var g = board.create('parallel', [B, board.defaultAxes.x]); | ||
var P = board.create('intersection', [li, k1, 0], {name: 'P'}); | var P = board.create('intersection', [li, k1, 0], {name: 'P', trace: true}); | ||
var gs = board.create('parallel', [P, board.defaultAxes.y]); | var gs = board.create('parallel', [P, board.defaultAxes.y]); | ||
var X = board.create('intersection', [gs, board.defaultAxes.x, 0], {name: 'X'}); | var X = board.create('intersection', [gs, board.defaultAxes.x, 0], {name: 'X'}); | ||
var Ps = board.create('intersection', [gs, g, 0], {name: "P'"}); | var Ps = board.create('intersection', [gs, g, 0], {name: "P'", trace: true, color: 'blue'}); | ||
</jsxgraph> | </jsxgraph> |