Subversion Repositories wimsdev

Rev

Rev 15716 | Rev 15722 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15716 Rev 15717
Line 2447... Line 2447...
2447
 
2447
 
2448
        case JSCURVE:
2448
        case JSCURVE:
2449
        /*
2449
        /*
2450
         @ jscurve color,formula1(x),formula2(x),formula3(x),...
2450
         @ jscurve color,formula1(x),formula2(x),formula3(x),...
2451
         @ alternative: jsplot
2451
         @ alternative: jsplot
2452
         @ alternative: userdraw
-
 
2453
         @ your function will be plotted by the javascript engine of the client browser
2452
         @ your function will be plotted by the javascript engine of the client browser
2454
         @ if <a href='trange'>trange</a> is defined, the two functions will be plotted parametric<br /><b>note</b>: use <i>x</i> as variable...and not <i>t</i>. Use keyword <a href='#animate'>animate</a> to animate a point on the curve
2453
         @ if <a href='trange'>trange</a> is defined, the two functions will be plotted parametric<br /><b>note</b>: use <i>x</i> as variable...and not <i>t</i>. Use keyword <a href='#animate'>animate</a> to animate a point on the curve
2455
         @ use only basic math in your curve: <code>sqrt,^,asin,acos,atan,log,pi,abs,sin,cos,tan,e</code>
2454
         @ use only basic math in your curve: <code>sqrt,^,asin,acos,atan,log,pi,abs,sin,cos,tan,e</code>
2456
         @ use parenthesis and rawmath: use 2*x instead of 2x ; use 2^(sin(x))...etc etc (use error console to debug any errors...)
2455
         @ use parenthesis and rawmath: use 2*x instead of 2x ; use 2^(sin(x))...etc etc (use error console to debug any errors...)
2457
         @ <b>attention</b>: last ''precision`` command in the canvasdraw script determines the calculation precision of the javascript curve plot !
2456
         @ <b>attention</b>: last ''precision`` command in the canvasdraw script determines the calculation precision of the javascript curve plot !