Difference between revisions of "Rational functions"

From JSXGraph Wiki
Jump to navigationJump to search
Line 79: Line 79:
 
         b1axisx3 = board3.createElement('axis', [[0,0], [1,0]], {});
 
         b1axisx3 = board3.createElement('axis', [[0,0], [1,0]], {});
 
         b1axisy3 = board3.createElement('axis', [[0,0], [0,1]], {});
 
         b1axisy3 = board3.createElement('axis', [[0,0], [0,1]], {});
         graph3 = board3.createElement('curve', ['x', function(x){return polynomial(x)/polynomial2(x);}, 'x', -10, 10], {curveType:'graph'});
+
         graph3 = board3.createElement('curve', ['x', function(x){return polynomial(x)/polynomial2(x);}, 'x', -10, 10], {curveType:'graph',strokeColor:'#ff0000'});
 
            
 
            
 
</script>
 
</script>
 
</html>
 
</html>

Revision as of 16:46, 15 December 2008