Difference between revisions of "Parametric curve plotter"

From JSXGraph Wiki
Jump to navigationJump to search
(New page: <html> <p> <textarea cols=60 rows=4 id="eingabe">function x(t) {return Math.cos(t); }; function y(t) {return Math.sin(t); };</textarea><br /> <input type="button" value="plot" onClick=...)
 
Line 19: Line 19:
 
             x,y,  
 
             x,y,  
 
             function(){return a.Value();},  
 
             function(){return a.Value();},  
             function(){return b.Value();}],  
+
             function(){return b.Value();}
             {strokeColor:'red', strokeWidth:2});
+
            ],  
 +
             {strokeColor:'red', strokeWidth:2}
 +
          );
 
   board.update();
 
   board.update();
 
}  
 
}  

Revision as of 21:39, 1 July 2009


The JavaScript code

<source lang="xml"> <source>