summaryrefslogtreecommitdiffstats
path: root/ds9/library/plotdialog.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/plotdialog.tcl
parent206d3c1b9c3c7f563898f8f8aa590a543f308eaa (diff)
downloadblt-f6e3a9d54ed5dd02aeda5f441146a42935082610.zip
blt-f6e3a9d54ed5dd02aeda5f441146a42935082610.tar.gz
blt-f6e3a9d54ed5dd02aeda5f441146a42935082610.tar.bz2
add multiple plot support
Diffstat (limited to 'ds9/library/plotdialog.tcl')
-rw-r--r--ds9/library/plotdialog.tcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/ds9/library/plotdialog.tcl b/ds9/library/plotdialog.tcl
index c4383e6..38ce1b1 100644
--- a/ds9/library/plotdialog.tcl
+++ b/ds9/library/plotdialog.tcl
@@ -29,6 +29,10 @@ proc PlotDialog {varname wtt title xaxis yaxis} {
set var(graph,total) 0
set var(graph,current) 0
+ set var(graph0,data,total) 0
+ set var(graph0,data,current) 0
+
+ PlotInitState $varname
PlotTitle $varname $title $xaxis $yaxis