# Difference between revisions of "P-Norm"

From JSXGraph Wiki

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

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(); |