Polar grid: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
var board = JXG.JSXGraph.initBoard('jxgbox', {axis:false, boundingbox:[-5, 5, 5, -5]}); | var board = JXG.JSXGraph.initBoard('jxgbox', {axis:false, boundingbox:[-5, 5, 5, -5]}); | ||
var | var ax1 = board.create('axis', [[0,0], [1,0]], {ticks: {type: 'polar'}}); | ||
var ax2 = board.create('axis', [[0,0], [0,1]], {ticks: {}}); | |||
</jsxgraph> | </jsxgraph> | ||