Ticks: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 2: Line 2:
var brd1 = JXG.JSXGraph.initBoard('box1', {originX: 250, originY: 100, unitX: 50, unitY: 50});
var brd1 = JXG.JSXGraph.initBoard('box1', {originX: 250, originY: 100, unitX: 50, unitY: 50});
var ax1 = brd1.createElement('axis', [[0,0],[1,0]]);
var ax1 = brd1.createElement('axis', [[0,0],[1,0]]);
ax.showLabels=false;
ax1.showLabels=false;
brd1.createElement('ticks',[ax1,0.5], {majorTicks:3,majHeight:80,minHeight:3});
brd1.createElement('ticks',[ax1,0.5], {majorTicks:3,majHeight:80,minHeight:3});
</jsxgraph>
</jsxgraph>

Revision as of 09:07, 13 March 2009