summaryrefslogtreecommitdiffstats
path: root/ds9/library/plotdata.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-06-07 20:07:15 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-06-07 20:07:15 (GMT)
commit8089027d323727dc920045a7b3040daa33c14f4c (patch)
tree1f3ccad255110f4b9be1ce1c00b770404f52afed /ds9/library/plotdata.tcl
parent3e0e98282ec1f35833f975990cbd69a12843c475 (diff)
downloadblt-8089027d323727dc920045a7b3040daa33c14f4c.zip
blt-8089027d323727dc920045a7b3040daa33c14f4c.tar.gz
blt-8089027d323727dc920045a7b3040daa33c14f4c.tar.bz2
support multiple graphs per plot
Diffstat (limited to 'ds9/library/plotdata.tcl')
-rw-r--r--ds9/library/plotdata.tcl7
1 files changed, 1 insertions, 6 deletions
diff --git a/ds9/library/plotdata.tcl b/ds9/library/plotdata.tcl
index 8b24ea8..b4c9598 100644
--- a/ds9/library/plotdata.tcl
+++ b/ds9/library/plotdata.tcl
@@ -33,9 +33,6 @@ proc PlotDataSetOne {varname dim data} {
upvar #0 $varname var
global $varname
- # save current state
- PlotSaveState $varname
-
set cc $var(graph,current)
# look for no data
@@ -231,9 +228,7 @@ proc PlotDataSetOne {varname dim data} {
}
}
- PlotSaveState $varname
PlotAddElement $varname
- $var(proc,updateelement) $varname
}
proc PlotDupDataSet {varname mm} {
@@ -308,8 +303,8 @@ proc PlotDupDataSet {varname mm} {
# make current
set var($cc,data,current) $nn
PlotRestoreState $varname
-
PlotAddElement $varname
+
PlotStats $varname
PlotList $varname
}