summaryrefslogtreecommitdiffstats
path: root/ds9/library/plot.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-06-03 18:14:03 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-06-03 18:14:03 (GMT)
commit48087bac804f248e0fe9faaf89d5457ded47ed4c (patch)
treed5d2530e0e9cbe8a99000ab4682962ece187cbda /ds9/library/plot.tcl
parenteea857b01891eeaf5d8a8d876b07cfc04a0cafdb (diff)
downloadblt-48087bac804f248e0fe9faaf89d5457ded47ed4c.zip
blt-48087bac804f248e0fe9faaf89d5457ded47ed4c.tar.gz
blt-48087bac804f248e0fe9faaf89d5457ded47ed4c.tar.bz2
add multiple plot support
Diffstat (limited to 'ds9/library/plot.tcl')
-rw-r--r--ds9/library/plot.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/ds9/library/plot.tcl b/ds9/library/plot.tcl
index e26bfb2..771e1be 100644
--- a/ds9/library/plot.tcl
+++ b/ds9/library/plot.tcl
@@ -58,8 +58,8 @@ proc PlotAddGraph {varname} {
set var($cc,xedata) {}
set var($cc,yedata) {}
- array set $varname [array get pap]
-
+ PlotInitGraph $varname
+
$var(proc,addgraph) $varname
# set up zoom stack, assuming mode is zoom