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.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/js/Sinks/CMAT3D.js b/js/Sinks/CMAT3D.js
index 4afe2f60..50e9d1af 100644
--- a/js/Sinks/CMAT3D.js
+++ b/js/Sinks/CMAT3D.js
@@ -83,4 +83,14 @@ function CMAT3D() {
CMAT3D.prototype.get_popup_title = function CMAT3D() {
return this.set_param_popup_title;
}
+ CMAT3D.prototype.importset = function CMAT3D() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.vec_x = ary[0];
+ this.vec_y = ary[1];
+ this.colormap = ary[2];
+ this.cmin = ary[3];
+ this.cmax = ary[4];
+ }
+ CMAT3D.prototype.getContainer = function CMAT3D() { return new BasicBlock(this.x); }
}