Texts

From JSXGraph Wiki
Revision as of 15:10, 13 December 2012 by Michael (talk | contribs) (Created page with "<jsxgraph width="600" height="600"> var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox: [-1,10,7,-1], axis:false, keepaspectratio:false}); // Vertical line at x=3 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The underlying JavaScript code

    var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox: [-1,10,7,-1], axis:false, keepaspectratio:false});

    // Vertical line at x=3
    var A = brd.create('point', [1, 0], {strokeWidth:1, dash:2});  
    brd.create('text', [3, 8, function () { return 'X(A) = ' + A.X(); }]);