diff options
Diffstat (limited to 'js/Misc')
-rw-r--r-- | js/Misc/BOUNCE.js | 6 | ||||
-rw-r--r-- | js/Misc/BOUNCEXY.js | 4 | ||||
-rw-r--r-- | js/Misc/DIFF_f.js | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/js/Misc/BOUNCE.js b/js/Misc/BOUNCE.js index 75550541..b55e03cc 100644 --- a/js/Misc/BOUNCE.js +++ b/js/Misc/BOUNCE.js @@ -45,11 +45,11 @@ function BOUNCE() { var options = { rpar1:["Mass",this.rpar1], rpar2:["Radius",this.rpar2], - walls:["[xmin,xmax,ymin,ymax]",this.walls], + walls:["[xmin,xmax,ymin,ymax]",this.walls.toString().replace(/,/g," ")], xt:["xpos",this.xt], - xd:["xdpos",this.xd], + xd:["xdpos",this.xd.toString().replace(/,/g," ")], y:["ypos",this.y], - yd:["ydpos",this.yd], + yd:["ydpos",this.yd.toString().replace(/,/g," ")], g:["g (gravity)",this.g], C:["C (aerodynamic coeff",this.C], } diff --git a/js/Misc/BOUNCEXY.js b/js/Misc/BOUNCEXY.js index 2cbcae14..a720b4ed 100644 --- a/js/Misc/BOUNCEXY.js +++ b/js/Misc/BOUNCEXY.js @@ -40,8 +40,8 @@ function BOUNCEXY() { } BOUNCEXY.prototype.get = function BOUNCEXY() { var options = { - clrs:["colors",this.clrs], - siz:["radii",this.siz], + clrs:["colors",this.clrs.toString().replace(/,/g," ")], + siz:["radii",this.siz.toString().replace(/,/g," ")], win:["window number (-1 for automatic)",this.win], imode:["animation mode (0,1)",this.imode], xmin:["Xmin",this.xmin], diff --git a/js/Misc/DIFF_f.js b/js/Misc/DIFF_f.js index 0642e719..f9aba023 100644 --- a/js/Misc/DIFF_f.js +++ b/js/Misc/DIFF_f.js @@ -19,7 +19,7 @@ function DIFF_f() { } DIFF_f.prototype.get = function DIFF_f() { var options = { - x0:["Initial state",this.x0], + x0:["Initial state",this.x0.toString().replace(/,/g," ")], xd0:["Initial Derivative",this.xd0], } return options; |