Difference between revisions of "Continuous functions"

From JSXGraph Wiki
Jump to navigationJump to search
Line 20: Line 20:
  
 
       x1 = board.createElement('glider', [-2,0,b1axisx],{name:' '});
 
       x1 = board.createElement('glider', [-2,0,b1axisx],{name:' '});
       x2 = board.createElement('point', [function(){return x1.X()-s.X();},0],{name:' '});
+
       x2 = board.createElement('point', [function(){return x1.X()-s.X();},0],{style:7,name:' '});
       x3 = board.createElement('point', [function(){return x1.X()+s.X();},0],{name:' '});
+
       x3 = board.createElement('point', [function(){return x1.X()+s.X();},0],{style:7,name:' '});
 +
      v2 = board.createElement('line', [function(t){return x2.X();},function(t){return t}], {strokeColor:'red',dash:1});
 +
      v3 = board.createElement('line', [function(t){return x3.X();},function(t){return t}], {strokeColor:'red',dash:1});
  
 
</script>
 
</script>

Revision as of 12:54, 17 December 2008

References

The underlying JavaScript source code