summaryrefslogtreecommitdiffstats
path: root/ds9/library/plotscatter.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-05-30 20:09:45 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-05-30 20:09:45 (GMT)
commitf6e3a9d54ed5dd02aeda5f441146a42935082610 (patch)
treec383a12e04146d926a82a23c95f3df71c3db5497 /ds9/library/plotscatter.tcl
parent206d3c1b9c3c7f563898f8f8aa590a543f308eaa (diff)
downloadblt-f6e3a9d54ed5dd02aeda5f441146a42935082610.zip
blt-f6e3a9d54ed5dd02aeda5f441146a42935082610.tar.gz
blt-f6e3a9d54ed5dd02aeda5f441146a42935082610.tar.bz2
add multiple plot support
Diffstat (limited to 'ds9/library/plotscatter.tcl')
-rw-r--r--ds9/library/plotscatter.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/ds9/library/plotscatter.tcl b/ds9/library/plotscatter.tcl
index 342a04e..4bd19f4 100644
--- a/ds9/library/plotscatter.tcl
+++ b/ds9/library/plotscatter.tcl
@@ -100,8 +100,7 @@ proc PlotScatterUpdateElement {varname} {
return
}
- set nn $var(graph$cc,data,current)
- PlotGetVar $varname $nn
+ PlotSaveState $varname
if {$var(graph$cc,shape,symbol) == "none"} {
set var(graph$cc,shape,symbol) circle
@@ -125,6 +124,7 @@ proc PlotScatterUpdateElement {varname} {
set cap 0
}
+ set nn $var(graph$cc,data,current)
$var(graph$cc) element configure "d-${nn}" \
-label $var(graph$cc,name) -hide [expr !$var(graph$cc,show)] \
-symbol $var(graph$cc,shape,symbol) -fill $clr -scalesymbols no \