diff options
author | Sunil Shetye | 2018-07-02 22:51:03 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-02 22:51:03 +0530 |
commit | ca1a67f78f7de40a7956c69e41f4ddae2542f4f2 (patch) | |
tree | 6a07bd0428e542567726ff7325fcb71203ad6d15 /js/Sinks/CSCOPXY.js | |
parent | 5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (diff) | |
download | sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.gz sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.bz2 sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.zip |
add options block
Diffstat (limited to 'js/Sinks/CSCOPXY.js')
-rw-r--r-- | js/Sinks/CSCOPXY.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/js/Sinks/CSCOPXY.js b/js/Sinks/CSCOPXY.js index dc48ef4c..f0d84a05 100644 --- a/js/Sinks/CSCOPXY.js +++ b/js/Sinks/CSCOPXY.js @@ -31,6 +31,20 @@ function CSCOPXY() { return this.x; } CSCOPXY.prototype.get = function CSCOPXY() { + 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], + win:["Output window number (-1 for automatic)",this.win], + wpos:["Output window position",this.wpos], + wdim:["Output window sizes",this.wdim], + xmin:["Xmin",this.xmin], + xmax:["Xmax",this.xmax], + ymin:["Ymin",this.ymin], + ymax:["Ymax",this.ymax], + N:["Buffer size",this.N], + } + return options; } CSCOPXY.prototype.set = function CSCOPXY() { this.nbr_curves = parseFloat((arguments[0]["nbr_curves"])) |