summaryrefslogtreecommitdiff
path: root/js/Sinks/CMATVIEW.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sinks/CMATVIEW.js')
-rw-r--r--js/Sinks/CMATVIEW.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/js/Sinks/CMATVIEW.js b/js/Sinks/CMATVIEW.js
index 03232d25..594a6622 100644
--- a/js/Sinks/CMATVIEW.js
+++ b/js/Sinks/CMATVIEW.js
@@ -8,14 +8,14 @@ function CMATVIEW() {
alpha_c = 0.24;
beta_c = 1;
this.model = scicos_model();
- this.model.sim = list(new ScilabString("cmatview"),new ScilabDouble(4));
- this.model.in1 = new ScilabDouble(-1);
- this.model.in2 = new ScilabDouble(-2);
- this.model.intyp = new ScilabDouble(1);
- this.model.evtin = new ScilabDouble(1);
+ this.model.sim = list(new ScilabString(["cmatview"]), new ScilabDouble([4]));
+ this.model.in1 = new ScilabDouble([-1]);
+ this.model.in2 = new ScilabDouble([-2]);
+ this.model.intyp = new ScilabDouble([1]);
+ this.model.evtin = new ScilabDouble([1]);
this.model.ipar = [[this.cmin],[this.cmax],[size_c]];
this.model.rpar = [[alpha_c],[beta_c],[this.colormap.slice()]];
- this.model.blocktype = new ScilabString("c");
+ this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = [true,false];
exprs = [[string("jetcolormap(25)")],[string(this.cmin)],[string(this.cmax)]];
gr_i = [];