# Difference between revisions of "Number line"

From JSXGraph Wiki

Jump to navigationJump to searchA WASSERMANN (talk | contribs) (Created page with "<jsxgraph width="600" height="300"> var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox:[-5,2,5,-2]}); var axisx = brd.create('axis', [[0,0], [1,0]], { firstArrow: tru...") |
A WASSERMANN (talk | contribs) |
||

Line 1: | Line 1: | ||

− | <jsxgraph width=" | + | <jsxgraph width="400" height="300"> |

var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox:[-5,2,5,-2]}); | var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox:[-5,2,5,-2]}); | ||

var axisx = brd.create('axis', [[0,0], [1,0]], | var axisx = brd.create('axis', [[0,0], [1,0]], | ||

Line 6: | Line 6: | ||

lastArrow: true, | lastArrow: true, | ||

ticks: { | ticks: { | ||

+ | drawZero: true, | ||

ticksDistance: 1, | ticksDistance: 1, | ||

minorTicks: 0 | minorTicks: 0 |