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.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/Sinks/CMATVIEW.js b/js/Sinks/CMATVIEW.js
index c6933392..93f2a5fa 100644
--- a/js/Sinks/CMATVIEW.js
+++ b/js/Sinks/CMATVIEW.js
@@ -75,4 +75,12 @@ function CMATVIEW() {
CMATVIEW.prototype.get_popup_title = function CMATVIEW() {
return this.set_param_popup_title;
}
+ CMATVIEW.prototype.importset = function CMATVIEW() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.colormap = ary[0];
+ this.cmin = ary[1];
+ this.cmax = ary[2];
+ }
+ CMATVIEW.prototype.getContainer = function CMATVIEW() { return new BasicBlock(this.x); }
}