summaryrefslogtreecommitdiff
path: root/js/Sinks/CANIMXY3D.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-06 12:20:13 +0530
committerSunil Shetye2018-07-09 12:16:25 +0530
commit5c011853630a1b466ef4789d5b600dd530d0a3ec (patch)
treefe2935154d2c500f1d883a4b319235bb67628477 /js/Sinks/CANIMXY3D.js
parent5a28e41a3105338f747b8a30f67000920490c67d (diff)
downloadsci2js-5c011853630a1b466ef4789d5b600dd530d0a3ec.tar.gz
sci2js-5c011853630a1b466ef4789d5b600dd530d0a3ec.tar.bz2
sci2js-5c011853630a1b466ef4789d5b600dd530d0a3ec.zip
use different syntax for matrix options
Diffstat (limited to 'js/Sinks/CANIMXY3D.js')
-rw-r--r--js/Sinks/CANIMXY3D.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/js/Sinks/CANIMXY3D.js b/js/Sinks/CANIMXY3D.js
index a68ddeb6..ba90c709 100644
--- a/js/Sinks/CANIMXY3D.js
+++ b/js/Sinks/CANIMXY3D.js
@@ -34,15 +34,15 @@ function CANIMXY3D() {
CANIMXY3D.prototype.get = function CANIMXY3D() {
var options = {
nbr_curves:["Number of curves",this.nbr_curves],
- clrs:["color (>0) or mark (<0)",this.clrs],
- siz:["line or mark size",this.siz],
+ clrs:["color (>0) or mark (<0)",this.clrs.toString().replace(/,/g," ")],
+ siz:["line or mark size",this.siz.toString().replace(/,/g," ")],
win:["Output window number (-1 for automatic)",this.win],
- wpos:["Output window position",this.wpos],
- wdim:["Output window sizes",this.wdim],
- vec_x:["Xmin and Xmax",this.vec_x],
- vec_y:["Ymin and Ymax",this.vec_y],
- vec_z:["Zmin and Zmax",this.vec_z],
- param3ds:["Alpha and Theta",this.param3ds],
+ wpos:["Output window position",this.wpos.toString().replace(/,/g," ")],
+ wdim:["Output window sizes",this.wdim.toString().replace(/,/g," ")],
+ vec_x:["Xmin and Xmax",this.vec_x.toString().replace(/,/g," ")],
+ vec_y:["Ymin and Ymax",this.vec_y.toString().replace(/,/g," ")],
+ vec_z:["Zmin and Zmax",this.vec_z.toString().replace(/,/g," ")],
+ param3ds:["Alpha and Theta",this.param3ds.toString().replace(/,/g," ")],
N:["Buffer size",this.N],
}
return options;