Polar grid: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
var ax1 = board.create('axis', [[0,0], [1,0]], {ticks: {type: 'polar', label: {offset:[0, -3], anchorX: 'middle', anchorY: 'top'}}}); | var ax1 = board.create('axis', [[0,0], [1,0]], {ticks: {type: 'polar', label: {offset:[0, -3], anchorX: 'middle', anchorY: 'top'}}}); | ||
var ax2 = board.create('axis', [[0,0], [0,1]], {ticks: {majorHeight: 0, label: {visible: true, offset: [-6, 0], anchorY: 'middle', anchorX: 'right'}}}); | var ax2 = board.create('axis', [[0,0], [0,1]], {ticks: {majorHeight: 0, minorHeight: -5, label: {visible: true, offset: [-6, 0], anchorY: 'middle', anchorX: 'right'}}}); | ||
</jsxgraph> | </jsxgraph> |