Difference between revisions of "Continuous function II"

From JSXGraph Wiki
Jump to navigationJump to search
Line 27: Line 27:
 
  v3 = board.createElement('line', [z3,y3],{strokeColor:'gray',dash:2,strokeWidth:1});
 
  v3 = board.createElement('line', [z3,y3],{strokeColor:'gray',dash:2,strokeWidth:1});
  
  h1 = board.createElement('curve', [function(t){return z1.X();},function(t){return t}], {strokeColor:'gray',dash:2,strokeWidth:1});
+
  h1 = board.createElement('curve', [function(t){return z1.X();},function(t){return t},'t',0,20], {strokeColor:'gray',dash:2,strokeWidth:1});
  h2 = board.createElement('curve', [function(t){return z2.X();},function(t){return t}], {strokeColor:'gray',dash:2,strokeWidth:1});
+
  h2 = board.createElement('curve', [function(t){return z2.X();},function(t){return t},'t',0,20], {strokeColor:'gray',dash:2,strokeWidth:1});
  h3 = board.createElement('curve', [function(t){return z3.X();},function(t){return t}], {strokeColor:'gray',dash:2,strokeWidth:1});
+
  h3 = board.createElement('curve', [function(t){return z3.X();},function(t){return t},'t',0,20], {strokeColor:'gray',dash:2,strokeWidth:1});
 
  board.unsuspendUpdate();
 
  board.unsuspendUpdate();
  

Revision as of 19:12, 10 January 2009

References