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.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/Sinks/CMATVIEW.js b/js/Sinks/CMATVIEW.js
index c3fe03e6..faacf6a6 100644
--- a/js/Sinks/CMATVIEW.js
+++ b/js/Sinks/CMATVIEW.js
@@ -28,6 +28,9 @@ function CMATVIEW() {
CMATVIEW.prototype.get = function CMATVIEW() {
}
CMATVIEW.prototype.set = function CMATVIEW() {
+ this.colormap = parseFloat((arguments[0]["colormap"]))
+ this.cmin = parseFloat((arguments[0]["cmin"]))
+ this.cmax = parseFloat((arguments[0]["cmax"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;