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.js46
1 files changed, 23 insertions, 23 deletions
diff --git a/js/Sinks/CMATVIEW.js b/js/Sinks/CMATVIEW.js
index e9428ea8..e94dfcf9 100644
--- a/js/Sinks/CMATVIEW.js
+++ b/js/Sinks/CMATVIEW.js
@@ -1,5 +1,28 @@
/* autogenerated from "macros/Sinks/CMATVIEW.sci" */
function CMATVIEW() {
+CMATVIEW.prototype.define = function CMATVIEW() {
+cmin=0;
+cmax=100;
+size_c=25;
+colormap=jetcolormap(size_c);
+alpha_c=0.24;
+beta_c=1;
+model=scicos_model();
+model.sim=list("cmatview",4);
+model.in1=-1;
+model.in2=-2;
+model.intyp=1;
+model.evtin=1;
+model.ipar=[cmin,cmax,size_c];
+model.rpar=[alpha_c,beta_c,colormap.slice()];
+model.blocktype="c";
+model.dep_ut=[true,false];
+exprs=[string("jetcolormap(25)"),string(cmin),string(cmax)];
+gr_i=[];
+x=standard_define([2,2],model,exprs,gr_i);
+}
+CMATVIEW.prototype.details = function CMATVIEW() {
+}
CMATVIEW.prototype.get = function CMATVIEW() {
}
CMATVIEW.prototype.set = function CMATVIEW() {
@@ -36,27 +59,4 @@ break
}
}
}
-CMATVIEW.prototype.define = function CMATVIEW() {
-cmin=0;
-cmax=100;
-size_c=25;
-colormap=jetcolormap(size_c);
-alpha_c=0.24;
-beta_c=1;
-model=scicos_model();
-model.sim=list("cmatview",4);
-model.in1=-1;
-model.in2=-2;
-model.intyp=1;
-model.evtin=1;
-model.ipar=[cmin,cmax,size_c];
-model.rpar=[alpha_c,beta_c,colormap.slice()];
-model.blocktype="c";
-model.dep_ut=[true,false];
-exprs=[string("jetcolormap(25)"),string(cmin),string(cmax)];
-gr_i=[];
-x=standard_define([2,2],model,exprs,gr_i);
-}
-CMATVIEW.prototype.details = function CMATVIEW() {
-}
}