# Difference between revisions of "Continuous function II"

From JSXGraph Wiki

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

Line 5: | Line 5: | ||

<div id="box" class="jxgbox" style="width:600px; height:500px;"></div> | <div id="box" class="jxgbox" style="width:600px; height:500px;"></div> | ||

<script language="JavaScript"> | <script language="JavaScript"> | ||

− | board = JXG.JSXGraph.initBoard('box', {originX: | + | board = JXG.JSXGraph.initBoard('box', {originX: 50, originY: 400, unitX: 50, unitY: 50}); |

board.suspendUpdate(); | board.suspendUpdate(); | ||

b1axisx = board.createElement('axis', [[0,0], [1,0]], {}); | b1axisx = board.createElement('axis', [[0,0], [1,0]], {}); | ||

Line 13: | Line 13: | ||

graph = board.createElement('curve', ['x',f, 'x', 0.00001, 15], {curveType:'graph',strokeColor:'#00ff00'}); | graph = board.createElement('curve', ['x',f, 'x', 0.00001, 15], {curveType:'graph',strokeColor:'#00ff00'}); | ||

− | s = board.createElement('slider', [0,- | + | s = board.createElement('slider', [0,-1,4,0,1,1],{name:' '}); |

y1 = board.createElement('glider', [0,3,b1axisy],{name:'f(a)'}); | y1 = board.createElement('glider', [0,3,b1axisy],{name:'f(a)'}); |