Difference between revisions of "Parallel projection of a sphere"

From JSXGraph Wiki
Jump to navigationJump to search
(Created page with "<jsxgraph width="700" height="700"> var board = JXG.JSXGraph.initBoard('jxgbox', { boundingbox:[-10, 10, 10, -10], axis:false, showCopyright:true, showNavigation:true, pan...")
 
Line 32: Line 32:
 
var xAxis = board.create ('axis', [[0, 0], [1, 0]] );
 
var xAxis = board.create ('axis', [[0, 0], [1, 0]] );
 
var yAxis = board.create ('axis', [[0, 0], [0, 1]]);
 
var yAxis = board.create ('axis', [[0, 0], [0, 1]]);
var zAxis = board.create ('axis', [[0, 0], [-1, -1]]);
+
var zAxis = board.create ('axis', [[0, 0], [-1, -1]], {ticks:{majorHeight:10}});
  
 
var cam = [4,4,30];  // [x,y,z]
 
var cam = [4,4,30];  // [x,y,z]

Revision as of 13:58, 1 June 2012