Ticks: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) (New page: <jsxgraph height="200" width="600" board="brd1" box="box1"> board = JXG.JSXGraph.initBoard('box1', {originX: 250, originY: 100, unitX: 25, unitY: 25}); var ax1 = board.createElement('axis...) |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<jsxgraph height="200" width="600" | <jsxgraph height="200" width="600" box="box1"> | ||
var brd1 = JXG.JSXGraph.initBoard('box1', {originX: 250, originY: 100, unitX: 25, unitY: 25}); | |||
var ax1 = | var ax1 = brd1.createElement('axis', [[0,0],[1,0]]); | ||
brd1.createElement('ticks',[ax1,0.7], {strokeColor:'red'}); | |||
</jsxgraph> | </jsxgraph> | ||
[[Category:Examples]] | [[Category:Examples]] |