diff options
author | Sunil Shetye | 2018-06-18 17:08:56 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-18 17:08:56 +0530 |
commit | 0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a (patch) | |
tree | 6ae63f7633d80f9a70be43ebe789eb0c3a3ec364 /js/Sinks/CMATVIEW.js | |
parent | 8e6e9558ba4963ea71b7a6efc11e0b44e7c9040a (diff) | |
download | sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.gz sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.bz2 sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.zip |
change order of functions
Diffstat (limited to 'js/Sinks/CMATVIEW.js')
-rw-r--r-- | js/Sinks/CMATVIEW.js | 46 |
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() { -} } |