# Difference between revisions of "Data plot"

From JSXGraph Wiki

Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

Line 1: | Line 1: | ||

<jsxgraph width="600" height="500"> | <jsxgraph width="600" height="500"> | ||

var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-100,5000,-100,25000],axis:true,grid:true}); | var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-100,5000,-100,25000],axis:true,grid:true}); | ||

− | var c = brd.create('curve',[[0],[0]],{strokeColor:'red'}); | + | var c = brd.create('curve',[[0,1],[0,1]],{strokeColor:'red'}); |

var plotData = function() { | var plotData = function() { |