summaryrefslogtreecommitdiff
path: root/js/Sinks/CMAT3D.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sinks/CMAT3D.js')
-rw-r--r--js/Sinks/CMAT3D.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Sinks/CMAT3D.js b/js/Sinks/CMAT3D.js
index 85aac47f..eb6e8e42 100644
--- a/js/Sinks/CMAT3D.js
+++ b/js/Sinks/CMAT3D.js
@@ -20,7 +20,7 @@ function CMAT3D() {
this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = new ScilabDouble([true,false]);
var exprs = [[strcat(string(this.x)," ")],[strcat(string(y)," ")],[string("jetcolormap(25)")],[string(this.cmin)],[string(this.cmax)]];
- var gr_i = [];
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"CMAT3D\",sz(1),sz(2));"]);
this.x = standard_define([2,2],this.model,exprs,gr_i);
return new BasicBlock(this.x);
}