P-Norm: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
var brd = JXG.JSXGraph.initBoard('jxgbox', {axis:true, boundingbox:[-5,5,5,-5]}); | var brd = JXG.JSXGraph.initBoard('jxgbox', {axis:true, boundingbox:[-5,5,5,-5]}); | ||
var pNorm = brd.create('slider', [[0,-1],[3,-1],[0,2,10]], {style:6, name:'a'}); | var pNorm = brd.create('slider', [[0,-1],[3,-1],[0,2,10]], {style:6, name:'a'}); | ||
graph = | graph = brd.create('curve', [ | ||
function(t){ | function(t){ | ||
var p = pNorm.Value(); | var p = pNorm.Value(); |