Difference between revisions of "Parallel projection of a sphere"

From JSXGraph Wiki
Jump to navigationJump to search
Line 3: Line 3:
 
{
 
{
 
boundingbox:[-10, 10, 10, -10],
 
boundingbox:[-10, 10, 10, -10],
axis:false,  
+
axis:true,  
 
showCopyright:true,
 
showCopyright:true,
 
showNavigation:true,
 
showNavigation:true,
Line 30: Line 30:
 
});
 
});
  
var xAxis = board.create ('axis', [[0, 0], [1, 0]] );
+
var zAxis = board.create ('axis', [[0, 0], [-1, -1]], {ticks:{majorHeight:10}, drawLabels:false});
var yAxis = board.create ('axis', [[0, 0], [0, 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:59, 1 June 2012